]> 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)
commit1cb64d054a46cb0116a4cabec1381f06d980135a
tree894a26efd117c5d984796c47fe8e4c4ed3b41872
parent1437e403239d7d6097c2fe39bc6ba6349c11558e
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