Re: [PATCH v3] net/sock: Update sk rcu iterator macro.

2017-10-24 Thread David Miller
From: Tim Hansen Date: Mon, 23 Oct 2017 15:35:58 -0400 > 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 Ha

[PATCH v3] net/sock: Update sk rcu iterator macro.

2017-10-23 Thread Tim Hansen
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 --- include/net/sock.h | 4 ++-- 1 file changed, 2 insertions(+),