net: remove bogus RCU annotations on socket.wq
authorChristoph Hellwig <hch@lst.de>
Mon, 30 Jul 2018 07:45:07 +0000 (09:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Jul 2018 19:40:22 +0000 (12:40 -0700)
commite6476c21447c4b17c47e476aade6facf050f31e8
tree894a26efd117c5d984796c47fe8e4c4ed3b41872
parentd46eeeaf99bcfab884e3d658e2ba1356939ea783
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>
include/linux/net.h
include/net/sock.h
net/socket.c