Subject: [PATCH net-2.6.26 8/8][GRE]: Allow for IPPROTO_GRE protocol in namespaces.

From: Pavel Emelyanov <[email-masked]>
Date: Tue, 15 Apr 2008 17:03:04 +0400

This one was also disabled by default for sanity.

Signed-off-by: Pavel Emelyanov <[email-masked]>

---
 net/ipv4/ip_gre.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c
index 7ff5262..2ada033 100644
--- a/net/ipv4/ip_gre.c
+++ b/net/ipv4/ip_gre.c
@@ -1297,6 +1297,7 @@ static int ipgre_fb_tunnel_init(struct net_device *dev)
 static struct net_protocol ipgre_protocol = {
 	.handler	=	ipgre_rcv,
 	.err_handler	=	ipgre_err,
+	.netns_ok	=	1,
 };
 
 static void ipgre_destroy_tunnels(struct ipgre_net *ign)
-- 
1.5.3.4