diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-12-25 19:42:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-25 19:42:23 -0500 |
commit | b4ee07df3d8121060200dbe1c6686a4e0682bee2 (patch) | |
tree | f318811dae2fcf9e920f097be0a40487aca12173 /net/ipv4 | |
parent | cb5b04fe14394a93eb9a3523f5af9f77480a5a04 (diff) |
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 <adobriyan@gmail.com>
Acked-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/af_inet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 664ff0ee1c83..743f5542d65a 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c | |||
@@ -1402,6 +1402,7 @@ EXPORT_SYMBOL_GPL(snmp_mib_free); | |||
1402 | #ifdef CONFIG_IP_MULTICAST | 1402 | #ifdef CONFIG_IP_MULTICAST |
1403 | static struct net_protocol igmp_protocol = { | 1403 | static struct net_protocol igmp_protocol = { |
1404 | .handler = igmp_rcv, | 1404 | .handler = igmp_rcv, |
1405 | .netns_ok = 1, | ||
1405 | }; | 1406 | }; |
1406 | #endif | 1407 | #endif |
1407 | 1408 | ||