diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-16 04:11:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 04:11:36 -0400 |
commit | f96c148fd53a2a0dbb2d768895c7cf6951e35cc5 (patch) | |
tree | 248cd94d99ef73431bc654d5094a775bd0432da2 /net/ipv4/ip_gre.c | |
parent | 0b67eceb198b77045950011e12bf176a7c11ad98 (diff) |
[GRE]: Allow for IPPROTO_GRE protocol in namespaces.
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>
Diffstat (limited to 'net/ipv4/ip_gre.c')
-rw-r--r-- | 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 7ff52628a73f..2ada033406de 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) | |||
1297 | static struct net_protocol ipgre_protocol = { | 1297 | static struct net_protocol ipgre_protocol = { |
1298 | .handler = ipgre_rcv, | 1298 | .handler = ipgre_rcv, |
1299 | .err_handler = ipgre_err, | 1299 | .err_handler = ipgre_err, |
1300 | .netns_ok = 1, | ||
1300 | }; | 1301 | }; |
1301 | 1302 | ||
1302 | static void ipgre_destroy_tunnels(struct ipgre_net *ign) | 1303 | static void ipgre_destroy_tunnels(struct ipgre_net *ign) |