[PATCH] igmp: allow IPPROTO_IGMP sockets in netns

Alexey Dobriyan adobriyan at gmail.com
Sun Sep 7 18:29:19 PDT 2008


Looks like everything is already ready.

Required for ebtables(8) for one thing.

Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
---

 net/ipv4/af_inet.c |    1 +
 1 file changed, 1 insertion(+)

--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -1310,6 +1310,7 @@ EXPORT_SYMBOL_GPL(snmp_mib_free);
 #ifdef CONFIG_IP_MULTICAST
 static struct net_protocol igmp_protocol = {
 	.handler =	igmp_rcv,
+	.netns_ok =	1,
 };
 #endif
 



More information about the Containers mailing list