[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170901.173349.1060795224955256278.davem@davemloft.net>
Date: Fri, 01 Sep 2017 17:33:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] inetpeer: fix RCU lookup()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 01 Sep 2017 14:03:32 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...gle.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Cheers for excess seafood :-)
Applied.
Powered by blists - more mailing lists