aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2017-09-01 21:03:32 +0000
committerDavid S. Miller <[email protected]>2017-09-02 00:33:17 +0000
commit4cc5b44b29a9de9b3f841efedaa3f769066c63cc (patch)
tree2a98212b93c7c09a10a29c57754f3bc8cde99627 /net/tipc/node.c
parentselftests: correct define in msg_zerocopy.c (diff)
downloadkernel-4cc5b44b29a9de9b3f841efedaa3f769066c63cc.tar.gz
kernel-4cc5b44b29a9de9b3f841efedaa3f769066c63cc.zip
inetpeer: fix RCU lookup()
Excess of seafood or something happened while I cooked the commit adding RB tree to inetpeer. Of course, RCU rules need to be respected or bad things can happen. In this particular loop, we need to read *pp once per iteration, not twice. Fixes: b145425f269a ("inetpeer: remove AVL implementation in favor of RB tree") Reported-by: John Sperbeck <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions