summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2014-12-04 09:46:20 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2014-12-08 07:38:14 +0100
commitde3b7a06dfe15bda3e66a52285d422b954bb4832 (patch)
tree9cf16ff37aaf5f29642b09650fe535f170a7a0bc /security
parentf2a01517f2a1040a0b156f171a7cefd748f2fd03 (diff)
downloadop-kernel-dev-de3b7a06dfe15bda3e66a52285d422b954bb4832.zip
op-kernel-dev-de3b7a06dfe15bda3e66a52285d422b954bb4832.tar.gz
xfrm6: Fix transport header offset in _decode_session6.
skb->transport_header might not be valid when we do a reverse decode because the ipv6 tunnel error handlers don't update it to the inner transport header. This leads to a wrong offset calculation and to wrong layer 4 informations. We fix this by using the size of the ipv6 header as the first offset. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud