Thread (5 messages) flat view 5 messages, 5 authors, 6d ago

Re: [PATCH net] net: bonding: annotate lockless writes with WRITE_ONCE()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-01 10:31:03

Hello:

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

On Mon, 31 Aug 2026 08:10:27 +0000 you wrote:
Several fields in bonding are read locklessly using READ_ONCE()
(or ACCESS_ONCE() previously) but have corresponding writes that
do not use WRITE_ONCE().

Add WRITE_ONCE() annotations to:
- bond->send_peer_notif decrements in bond_peer_notify_may_events()
  and reset in bond_close().
- bond->slave_cnt increments and decrements in bond_enslave() and
  __bond_release_one().
- bond->recv_probe updates in bond_open(), bond_option_arp_interval_set()
  and rlb_initialize().
- slaves->count decrement in bond_skip_slave().

[...]
Here is the summary with links:
  - [net] net: bonding: annotate lockless writes with WRITE_ONCE()
    https://git.kernel.org/netdev/net/c/bc93419130bb

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help