diff options
| author | Jiayuan Chen <jiayuan.chen@linux.dev> | 2026-05-22 04:16:20 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-25 21:36:37 +0300 |
| commit | 67636cab273ed0c0b0f2adab6c9369a471cb7966 (patch) | |
| tree | 7e29414385eec0e6ea8c5c8105ebc5cfe8064bd5 /include/linux/debugobjects.h | |
| parent | 0f700d144b5a35fdf3e67439327f92c9ca7f8e34 (diff) | |
| download | linux-67636cab273ed0c0b0f2adab6c9369a471cb7966.tar.xz | |
rds: annotate data-race around rs_seen_congestion
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.
Reported-by: syzbot+fbf3648ae7f5bdb05c59@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/netdev/6a0f8d94.050a0220.6b33c.0000.GAE@google.com/
Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev>
Reviewed-by: Allison Henderson <achender@kernel.org>
Tested-by: Allison Henderson <achender@kernel.org>
Link: https://patch.msgid.link/20260522011621.304470-1-jiayuan.chen@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
