Re: [PATCH net] rds: annotate data-race around rs_seen_congestion
From: patchwork-bot+netdevbpf
Date: Mon May 25 2026 - 15:10:42 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Fri, 22 May 2026 09:16:20 +0800 you wrote:
> rs_seen_congestion is read in rds_poll() and written in rds_sendmsg()
> and rds_poll() without any lock. Use READ_ONCE()/WRITE_ONCE() to
> annotate these lockless accesses and silence KCSAN.
>
> Fixes: b98ba52f96e7 ("RDS: only put sockets that have seen congestion on the poll_waitq")
> Reported-by: syzbot+fbf3648ae7f5bdb05c59@xxxxxxxxxxxxxxxxxxxxxxxxx
> Closes: https://lore.kernel.org/netdev/6a0f8d94.050a0220.6b33c.0000.GAE@xxxxxxxxxx/
> Signed-off-by: Jiayuan Chen <jiayuan.chen@xxxxxxxxx>
>
> [...]
Here is the summary with links:
- [net] rds: annotate data-race around rs_seen_congestion
https://git.kernel.org/netdev/net-next/c/67636cab273e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html