From: YOSHIFUJI Hideaki Date: Tue, 18 Apr 2006 21:47:44 +0000 (-0700) Subject: [IPV6] XFRM: Fix decoding session with preceding extension header(s). X-Git-Tag: v2.6.17-rc2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5d25a90886d62d88fdd7cd5c3375f4fe436be64;p=pandora-kernel.git [IPV6] XFRM: Fix decoding session with preceding extension header(s). We did not correctly decode session with preceding extension header(s). This was because we had already pulled preceding headers, skb->nh.raw + 40 + 1 - skb->data was minus, and pskb_may_pull() failed. We now have IP6CB(skb)->nhoff and skb->h.raw, and we can start parsing / decoding upper layer protocol from current position. Tracked down by Noriaki TAKAMIYA and tested by Kazunori Miyazawa . Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller --- Reading git-diff-tree failed