diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2006-04-18 23:47:44 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-04-19 00:57:52 +0200 |
commit | e5d25a90886d62d88fdd7cd5c3375f4fe436be64 (patch) | |
tree | 677a7aa9816db94dfae91e6cb7f35864e47dc6d4 /Makefile | |
parent | [IPV6] XFRM: Don't use old copy of pointer after pskb_may_pull(). (diff) | |
download | linux-e5d25a90886d62d88fdd7cd5c3375f4fe436be64.tar.xz linux-e5d25a90886d62d88fdd7cd5c3375f4fe436be64.zip |
[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 <takamiya@po.ntts.co.jp>
and tested by Kazunori Miyazawa <kazunori@miyazawa.org>.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions