summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-04-16 10:17:39 +0200
committerDavid S. Miller <davem@davemloft.net>2008-04-16 10:17:39 +0200
commitb0970c428b33ee6e0aa576f58f87dde74262a441 (patch)
treed491af23c3aead55224aa0e2c3536a4f62508bae
parent[SIT]: Allow to create SIT tunnels in net namespaces. (diff)
downloadlinux-b0970c428b33ee6e0aa576f58f87dde74262a441.tar.xz
linux-b0970c428b33ee6e0aa576f58f87dde74262a441.zip
[SIT]: Allow for IPPROTO_IPV6 protocol in namespaces.
This makes sit-generated traffic enter the namespace. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-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 cc4cd0e518cc..d3b709a6f264 100644
--- a/net/ipv4/tunnel4.c
+++ b/net/ipv4/tunnel4.c
@@ -144,6 +144,7 @@ static struct net_protocol tunnel64_protocol = {
.handler = tunnel64_rcv,
.err_handler = tunnel64_err,
.no_policy = 1,
+ .netns_ok = 1,
};
#endif