Home
last modified time | relevance | path

Searched hist:"4 cc5b44b29a9de9b3f841efedaa3f769066c63cc" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv4/
H A Dinetpeer.cdiff 4cc5b44b29a9de9b3f841efedaa3f769066c63cc Fri Sep 01 16:03:32 CDT 2017 Eric Dumazet <edumazet@google.com> 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>