]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6] IP6TUNNEL: Enable to control the handled inner protocol.
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Thu, 30 Nov 2006 05:43:28 +0000 (14:43 +0900)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:23:42 +0000 (22:23 -0700)
commit1a6accbb4d62d93d10d13307c4bfe12aad8a72f6
tree7b9bc3f76ce37d6f907cfe8fa18317ad11e6eb1c
parent495636871e2a29257276735ef0b883d41592db1c
[IPV6] IP6TUNNEL: Enable to control the handled inner protocol.

ip6_tunnel before supporting IPv4/IPv6 tunnel allows only IPPROTO_IPV6
in configurations from userland. This allows userland to set IPPROTO_IPIP
and 0(wildcard). ip6_tunnel only handles allowed inner protocols.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_tunnel.c