[IP6TUNNEL]: Allow to create IP6 tunnels in net namespaces.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 16 Apr 2008 08:24:13 +0000 (01:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 08:24:13 +0000 (01:24 -0700)
commit554eb27782d4bb79e0a286a08ecafb81f758058c
treeb330c16faef8614928e0c260f0f966aeb9afb8a3
parent2f7f54b725f1a93f0a4daace1a924bee382b33b6
[IP6TUNNEL]: Allow to create IP6 tunnels in net namespaces.

And no need in some IPPROTO_XXX enabling, since ipv6 code
doesn't have any filtering.

So, just set proper net and mark device with NETNS_LOCAL.

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