Re: [PATCH] net: Fix suspicious RCU usage in bpf_sk_reuseport_detach()
From: David Howells
Date: Tue Aug 16 2022 - 09:10:04 EST
Hawkins Jiawei <yin31149@xxxxxxxxx> wrote:
> if (socks) {
> WRITE_ONCE(sk->sk_user_data, NULL);
Btw, shouldn't this be rcu_assign_pointer() or RCU_INIT_POINTER(), not
WRITE_ONCE()?
David