Patchwork [1/2] netns: igmp: allow IPPROTO_IGMP sockets in netns

login
register
mail settings
Submitter Benjamin Thery
Date Dec. 19, 2008, 2:25 p.m.
Message ID <20081219142508.351224256@theryb.frec.bull.fr>
Download mbox | patch
Permalink /patch/14832/
State Accepted
Delegated to: David Miller
Headers show

Comments

Benjamin Thery - Dec. 19, 2008, 2:25 p.m.
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>
---
 net/ipv4/af_inet.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Dec. 26, 2008, 12:42 a.m.
From: Benjamin Thery <benjamin.thery@bull.net>
Date: Fri, 19 Dec 2008 15:25:06 +0100

> 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>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index 664ff0e..743f554 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -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