[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)
commit502b093569e48db264831be7966e1c447de2f52f
tree7b9bc3f76ce37d6f907cfe8fa18317ad11e6eb1c
parent3144581cb0b4b1ef897470195128cc1c8dc037b6
[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