diff options
| author | Eric Dumazet <[email protected]> | 2025-06-04 09:39:28 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-06-05 15:02:26 +0000 |
| commit | 535caaca921c653b1f9838fbd5c4e9494cafc3d9 (patch) | |
| tree | 492e601eeeec5d1a5b7ead08f628b709c49e6009 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | selftests: drv-net: tso: make bkg() wait for socat to quit (diff) | |
| download | kernel-535caaca921c653b1f9838fbd5c4e9494cafc3d9.tar.gz kernel-535caaca921c653b1f9838fbd5c4e9494cafc3d9.zip | |
net: annotate data-races around cleanup_net_task
from_cleanup_net() reads cleanup_net_task locklessly.
Add READ_ONCE()/WRITE_ONCE() annotations to avoid
a potential KCSAN warning, even if the race is harmless.
Fixes: 0734d7c3d93c ("net: expedite synchronize_net() for cleanup_net()")
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: Jason Xing <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
