[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174018542976.2255625.1273232177921344284.git-patchwork-notify@kernel.org>
Date: Sat, 22 Feb 2025 00:50:29 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Sean Anderson <sean.anderson@...ux.dev>
Cc: nicolas.ferre@...rochip.com, claudiu.beznea@...on.dev,
netdev@...r.kernel.org, andrew+netdev@...n.ch, linux-kernel@...r.kernel.org,
kuba@...nel.org, pabeni@...hat.com, davem@...emloft.net, edumazet@...gle.com,
maxime.chevallier@...tlin.com
Subject: Re: [PATCH net v2] net: cadence: macb: Synchronize stats calculations
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 20 Feb 2025 11:29:50 -0500 you wrote:
> Stats calculations involve a RMW to add the stat update to the existing
> value. This is currently not protected by any synchronization mechanism,
> so data races are possible. Add a spinlock to protect the update. The
> reader side could be protected using u64_stats, but we would still need
> a spinlock for the update side anyway. And we always do an update
> immediately before reading the stats anyway.
>
> [...]
Here is the summary with links:
- [net,v2] net: cadence: macb: Synchronize stats calculations
https://git.kernel.org/netdev/net/c/fa52f15c745c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists