diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2018-12-20 21:20:10 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-20 16:31:36 -0800 |
commit | d15f5ac8deea936d3adf629421a66a88b42b8a2f (patch) | |
tree | 6c89a22e3a2f67a4a708c3e46ca97cdec686bfe3 /scripts/gcc-ld | |
parent | 8fd1a4affbdafda592f80cd01bf7a382a5ff2fe8 (diff) | |
download | linux-stable-d15f5ac8deea936d3adf629421a66a88b42b8a2f.tar.gz linux-stable-d15f5ac8deea936d3adf629421a66a88b42b8a2f.tar.bz2 linux-stable-d15f5ac8deea936d3adf629421a66a88b42b8a2f.zip |
ipv6: frags: Fix bogus skb->sk in reassembled packets
It was reported that IPsec would crash when it encounters an IPv6
reassembled packet because skb->sk is non-zero and not a valid
pointer.
This is because skb->sk is now a union with ip_defrag_offset.
This patch fixes this by resetting skb->sk when exiting from
the reassembly code.
Reported-by: Xiumei Mu <xmu@redhat.com>
Fixes: 219badfaade9 ("ipv6: frags: get rid of ip6frag_skb_cb/...")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gcc-ld')
0 files changed, 0 insertions, 0 deletions