vti6: Check the tunnel endpoints of the xfrm state and the vti interface
authorSteffen Klassert <steffen.klassert@secunet.com>
Fri, 14 Mar 2014 06:28:09 +0000 (07:28 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 14 Mar 2014 06:28:09 +0000 (07:28 +0100)
commit26be8e2db4352d1a69fa40b1126023efd2a26197
treefb067beb1cee5d49fa11d2febb46ad2cb6e98d0b
parent22e1b23dafa8554ef722454e8b84645820cbbc17
vti6: Check the tunnel endpoints of the xfrm state and the vti interface

The tunnel endpoints of the xfrm_state we got from the xfrm_lookup
must match the tunnel endpoints of the vti interface. This patch
ensures this matching.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv6/ip6_vti.c