net: remove bogus RCU annotations on socket.wq
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@lst.de> Reviewed-by: Eric Dumazet <edumazet@google.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
d46eeeaf99
commit
e6476c2144
@@ -114,7 +114,7 @@ struct socket {
|
||||
|
||||
unsigned long flags;
|
||||
|
||||
struct socket_wq __rcu *wq;
|
||||
struct socket_wq *wq;
|
||||
|
||||
struct file *file;
|
||||
struct sock *sk;
|
||||
|
Reference in New Issue
Block a user