inetpeer: fix RCU lookup() again
authorEric Dumazet <edumazet@google.com>
Mon, 25 Sep 2017 15:40:02 +0000 (08:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Sep 2017 16:39:34 +0000 (09:39 -0700)
commit35f493b87ec072c5a2497ffbee243095ef725827
tree0ba331cf269c9890debdf6f6606b2239a24341a6
parent2d3924c2181a4000aa4c118fc3685b5e93a45bd6
inetpeer: fix RCU lookup() again

My prior fix was not complete, as we were dereferencing a pointer
three times per node, not twice as I initially thought.

Fixes: 4cc5b44b29a9 ("inetpeer: fix RCU lookup()")
Fixes: b145425f269a ("inetpeer: remove AVL implementation in favor of RB tree")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inetpeer.c