Re: [PATCH net] net: hsr: remove seqnr_lock

From
patchwork-bot+netdevbpf@kernel.org
Date
2024-09-09 09:30:30
Reply to
Eric Dumazet, 2024-09-04
Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller [off-list ref]:

On Wed,  4 Sep 2024 13:37:25 +0000 you wrote:
syzbot found a new splat [1].

Instead of adding yet another spin_lock_bh(&hsr->seqnr_lock) /
spin_unlock_bh(&hsr->seqnr_lock) pair, remove seqnr_lock
and use atomic_t for hsr->sequence_nr and hsr->sup_sequence_nr.

This also avoid a race in hsr_fill_info().

[...]
Here is the summary with links:
  - [net] net: hsr: remove seqnr_lock
    https://git.kernel.org/netdev/net/c/b3c9e65eb227

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

Thread (9 messages) 9 messages, 4 authors, last reply 2024-09-09
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