netns: igmp: allow IPPROTO_IGMP sockets in netns
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 26 Dec 2008 00:42:23 +0000 (16:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2008 00:42:23 +0000 (16:42 -0800)
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 <adobriyan@gmail.com>
Acked-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c

index 664ff0ee1c8347d0276aa81a632cb5048f70c559..743f5542d65a6385c7ae423ddb49d4c69daaeaee 100644 (file)
@@ -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