From: Pavel Emelyanov Date: Wed, 16 Apr 2008 08:11:36 +0000 (-0700) Subject: [GRE]: Allow for IPPROTO_GRE protocol in namespaces. X-Git-Tag: v2.6.26-rc1~1138^2~38 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=f96c148fd53a2a0dbb2d768895c7cf6951e35cc5;p=~emulex%2Finfiniband.git [GRE]: Allow for IPPROTO_GRE protocol in namespaces. This one was also disabled by default for sanity. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller --- diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index 7ff52628a73..2ada033406d 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)