From: Herbert Xu <[email protected]>
Date: Thu, 20 Dec 2018 21:20:10 +0800

> 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 <[email protected]>
> Fixes: 219badfaade9 ("ipv6: frags: get rid of ip6frag_skb_cb/...")
> Signed-off-by: Herbert Xu <[email protected]>

Applied and queued up for -stable, thanks Herbert.

Reply via email to