From: Alexey Dobriyan Date: Fri, 26 Dec 2008 00:42:23 +0000 (-0800) Subject: netns: igmp: allow IPPROTO_IGMP sockets in netns X-Git-Tag: v2.6.29-rc1~581^2~84 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4ee07df3d8121060200dbe1c6686a4e0682bee2;p=platform%2Fkernel%2Flinux-stable.git netns: igmp: allow IPPROTO_IGMP sockets in netns Looks like everything is already ready. Required for ebtables(8) for one thing. Also, required for ipmr per-netns (coming soon). (Benjamin) Signed-off-by: Alexey Dobriyan Acked-by: Benjamin Thery Signed-off-by: David S. Miller --- diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 664ff0e..743f554 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c @@ -1402,6 +1402,7 @@ EXPORT_SYMBOL_GPL(snmp_mib_free); #ifdef CONFIG_IP_MULTICAST static struct net_protocol igmp_protocol = { .handler = igmp_rcv, + .netns_ok = 1, }; #endif