vti: Use the tunnel mark for lookup in the error handlers.
authorSteffen Klassert <steffen.klassert@secunet.com>
Mon, 12 May 2014 07:09:26 +0000 (09:09 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 12 May 2014 07:36:03 +0000 (09:36 +0200)
commit6d004d6cc73920299adf4cfe25010b348fc94395
tree42276abf9438dc48e387755c142e82a9e556fedb
parentfd71143645a9958e437c8cf394be2c44a6acb23a
vti: Use the tunnel mark for lookup in the error handlers.

We need to use the mark we get from the tunnels o_key to
lookup the right vti state in the error handlers. This patch
ensures that.

Fixes: df3893c1 ("vti: Update the ipv4 side to use it's own receive hook.")
Fixes: fa9ad96d ("vti6: Update the ipv6 side to use its own receive hook.")
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv4/ip_vti.c
net/ipv6/ip6_vti.c