Re: [PATCH] net: remove bogus RCU annotations on socket.wq

From: David Miller
Date: Tue Jul 31 2018 - 15:40:59 EST


From: Christoph Hellwig <hch@xxxxxx>
Date: Mon, 30 Jul 2018 09:45:07 +0200

> We never use RCU protection for it, just a lot of cargo-cult
> rcu_deference_protects calls.
>
> Note that we do keep the kfree_rcu call for it, as the references through
> struct sock are RCU protected and thus might require a grace period before
> freeing.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Applied to net-next, thanks.