summaryrefslogtreecommitdiff
path: root/net/ipv6/ila
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2018-12-20 16:20:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-09 19:38:35 +0300
commit5ac4cc331bca6c759460fc948d19906f4f7f5831 (patch)
tree127f9ed5f039b55c990dce00d35e672e47c0d52e /net/ipv6/ila
parent9ed77be31e9564381d5b5329d1a529cccd219a94 (diff)
downloadlinux-5ac4cc331bca6c759460fc948d19906f4f7f5831.tar.xz
ipv6: frags: Fix bogus skb->sk in reassembled packets
[ Upstream commit d15f5ac8deea936d3adf629421a66a88b42b8a2f ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6/ila')
0 files changed, 0 insertions, 0 deletions