From: Xin Long <[email protected]> Date: Sun, 31 Mar 2019 17:03:02 +0800
> As Eric noticed, in .sk_destruct, sk->sk_dst_cache update is prevented, and > no barrier is needed for this. So change to use rcu_dereference_protected() > instead of rcu_dereference_check() to fetch sk_dst_cache in there. > > v1->v2: > - no change, repost after net-next is open. > > Reported-by: Eric Dumazet <[email protected]> > Signed-off-by: Xin Long <[email protected]> Applied, thanks.
