diff options
author | Christoph Hellwig <hch@lst.de> | 2018-07-30 03:45:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-31 15:40:22 -0400 |
commit | e6476c21447c4b17c47e476aade6facf050f31e8 (patch) | |
tree | 894a26efd117c5d984796c47fe8e4c4ed3b41872 /include/linux/net.h | |
parent | d46eeeaf99bcfab884e3d658e2ba1356939ea783 (diff) |
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>
Diffstat (limited to 'include/linux/net.h')
-rw-r--r-- | include/linux/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 6554d3ba4396..e0930678c8bf 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
@@ -114,7 +114,7 @@ struct socket { | |||
114 | 114 | ||
115 | unsigned long flags; | 115 | unsigned long flags; |
116 | 116 | ||
117 | struct socket_wq __rcu *wq; | 117 | struct socket_wq *wq; |
118 | 118 | ||
119 | struct file *file; | 119 | struct file *file; |
120 | struct sock *sk; | 120 | struct sock *sk; |