Eric Dumazet 4cc5b44b29 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 <jsperbeck@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-01 17:33:17 -07:00
..
2017-08-09 22:43:50 -07:00
2017-09-01 17:33:17 -07:00
2017-08-24 21:57:50 -07:00
2017-08-28 16:49:49 -07:00
2017-08-29 15:16:52 -07:00
2017-08-28 11:30:02 -07:00
2017-07-21 16:26:01 -07:00
2017-08-23 22:31:38 -07:00
2017-08-03 09:13:51 -07:00
2017-08-29 15:16:52 -07:00
2017-08-29 15:16:52 -07:00
2017-08-16 11:27:52 -07:00