summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tunnel4.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-04-16 10:06:56 +0200
committerDavid S. Miller <davem@davemloft.net>2008-04-16 10:06:56 +0200
commit4597a0ce0849eaa62fc9083c21943e0c434e4135 (patch)
tree2562912e41e53a95c6fb55deaa6c0b6571591a82 /net/ipv4/tunnel4.c
parent[IPIP]: Allow to create IPIP tunnels in net namespaces. (diff)
downloadlinux-4597a0ce0849eaa62fc9083c21943e0c434e4135.tar.xz
linux-4597a0ce0849eaa62fc9083c21943e0c434e4135.zip
[IPIP]: Allow for IPPROTO_IPIP protocol in namespaces.
This one was 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/tunnel4.c')
-rw-r--r--net/ipv4/tunnel4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tunnel4.c b/net/ipv4/tunnel4.c
index 978b3fd61e65..cc4cd0e518cc 100644
--- a/net/ipv4/tunnel4.c
+++ b/net/ipv4/tunnel4.c
@@ -136,6 +136,7 @@ static struct net_protocol tunnel4_protocol = {
.handler = tunnel4_rcv,
.err_handler = tunnel4_err,
.no_policy = 1,
+ .netns_ok = 1,
};
#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)