]> git.baikalelectronics.ru Git - kernel.git/commit
net/sock: Update sk rcu iterator macro.
authorTim Hansen <devtimhansen@gmail.com>
Mon, 23 Oct 2017 19:35:58 +0000 (15:35 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Oct 2017 09:46:22 +0000 (18:46 +0900)
commit377fa68862eb0fb1c564770642f879847657db40
tree64f84a78519c929dd84780343a1e4bece03a3261
parent59f935f40a9e255f1b5807fb97ed5362e90ee036
net/sock: Update sk rcu iterator macro.

Mark hlist node in sk rcu iterator as protected by the rcu.
hlist_next_rcu accomplishes this and silences the warnings
sparse throws.

Found with make C=1 net/ipv4/udp.o on linux-next tag
next-20171009.

Signed-off-by: Tim Hansen <devtimhansen@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h