Re: [PATCH net v2] net: devmem: use READ_ONCE/WRITE_ONCE on binding->dev

From: patchwork-bot+netdevbpf

Date: Wed Mar 04 2026 - 21:21:40 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 02 Mar 2026 16:32:56 -0800 you wrote:
> From: Bobby Eshleman <bobbyeshleman@xxxxxxxx>
>
> binding->dev is protected on the write-side in
> mp_dmabuf_devmem_uninstall() against concurrent writes, but due to the
> concurrent bare reads in net_devmem_get_binding() and
> validate_xmit_unreadable_skb() it should be wrapped in a
> READ_ONCE/WRITE_ONCE pair to make sure no compiler optimizations play
> with the underlying register in unforeseen ways.
>
> [...]

Here is the summary with links:
- [net,v2] net: devmem: use READ_ONCE/WRITE_ONCE on binding->dev
https://git.kernel.org/netdev/net/c/40bf00ec2ee2

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