From: Pavel Emelyanov <xemul@openvz.org>
Date: Wed, 16 Apr 2008 08:17:39 +0000 (-0700)
Subject: [SIT]: Allow for IPPROTO_IPV6 protocol in namespaces.
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b0970c428b33ee6e0aa576f58f87dde74262a441;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

[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>
---

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