From: Steffen Klassert Date: Mon, 8 Dec 2014 06:56:18 +0000 (+0100) Subject: xfrm6: Fix the nexthdr offset in _decode_session6. X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~219^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f855691975bb06373a98711e4cfe2c224244b536;p=pandora-kernel.git xfrm6: Fix the nexthdr offset in _decode_session6. xfrm_decode_session() was originally designed for the usage in the receive path where the correct nexthdr offset is stored in IP6CB(skb)->nhoff. Over time this function spread to code that is used in the output path (netfilter, vti) where IP6CB(skb)->nhoff is not set. As a result, we get a wrong nexthdr and the upper layer flow informations are wrong. This can leed to incorrect policy lookups. Signed-off-by: Steffen Klassert --- Reading git-diff-tree failed