]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf57565199ce843b215b403528e9b7cfe732d0697
tree894a26efd117c5d984796c47fe8e4c4ed3b41872
parente128c1df2ccae2699486aabe0561628f9a703d6e
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