Re: [PATCH net] inet: ping: use hlist_nulls rcu iterator during lookup

From
patchwork-bot+netdevbpf@kernel.org
Date
2022-12-01 11:50:20
Reply to
Florian Westphal, 2022-11-29
Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni [off-list ref]:

On Tue, 29 Nov 2022 15:06:44 +0100 you wrote:
ping_lookup() does not acquire the table spinlock, so iteration should
use hlist_nulls_for_each_entry_rcu().

Spotted during code review.

Fixes: dbca1596bbb0 ("ping: convert to RCU lookups, get rid of rwlock")
Cc: Eric Dumazet <redacted>
Signed-off-by: Florian Westphal <fw@strlen.de>

[...]
Here is the summary with links:
  - [net] inet: ping: use hlist_nulls rcu iterator during lookup
    https://git.kernel.org/netdev/net/c/c25b7a7a565e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Thread (2 messages) 2 messages, 2 authors, last reply 2022-12-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help