Commit b4ee07df authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller

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: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Acked-by: default avatarBenjamin Thery <benjamin.thery@bull.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cb5b04fe
...@@ -1402,6 +1402,7 @@ EXPORT_SYMBOL_GPL(snmp_mib_free); ...@@ -1402,6 +1402,7 @@ EXPORT_SYMBOL_GPL(snmp_mib_free);
#ifdef CONFIG_IP_MULTICAST #ifdef CONFIG_IP_MULTICAST
static struct net_protocol igmp_protocol = { static struct net_protocol igmp_protocol = {
.handler = igmp_rcv, .handler = igmp_rcv,
.netns_ok = 1,
}; };
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment