From: Steffen Klassert Date: Thu, 4 Dec 2014 08:46:20 +0000 (+0100) Subject: xfrm6: Fix transport header offset in _decode_session6. X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~219^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de3b7a06dfe1;p=pandora-kernel.git 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 --- Reading git-diff-tree failed