[Devel] [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
 

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list