]> err.no Git - linux-2.6/commitdiff
[GRE]: Allow for IPPROTO_GRE protocol in namespaces.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 16 Apr 2008 08:11:36 +0000 (01:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 08:11:36 +0000 (01:11 -0700)
This one was also disabled by default for sanity.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c

index 7ff52628a73f2048204eb38a40264d04f9c58e2f..2ada033406de08b6e471287867001a63a33336e2 100644 (file)
@@ -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)