igmp: IGMP processing mpsafe master
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 24 Nov 2014 00:03:35 +0000 (08:03 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 24 Nov 2014 00:03:35 +0000 (08:03 +0800)
sys/netinet/in_proto.c

index 1fd10dc..e7c0725 100644 (file)
@@ -238,7 +238,7 @@ struct protosw inetsw[] = {
        .pr_type = SOCK_RAW,
        .pr_domain = &inetdomain,
        .pr_protocol = IPPROTO_IGMP,
-       .pr_flags = PR_ATOMIC|PR_ADDR|PR_LASTHDR,
+       .pr_flags = PR_ATOMIC|PR_ADDR|PR_LASTHDR|PR_MPSAFE,
 
        .pr_input = igmp_input,
        .pr_output = NULL,