vti4: Check the tunnel endpoints of the xfrm state and the vti interface
authorSteffen Klassert <steffen.klassert@secunet.com>
Fri, 21 Feb 2014 07:41:11 +0000 (08:41 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 25 Feb 2014 06:04:19 +0000 (07:04 +0100)
commit6e2de802af32704d9bc4af0c437da7045960112b
treea0ce63f698c25dfbd32f89320c15ba10a39d10d5
parent78a010cca000aafc6a8503eb2be590a533589a27
vti4: 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/ipv4/ip_vti.c