aboutsummaryrefslogtreecommitdiffstats
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-08-22 21:15:28 +0000
committerDavid S. Miller <davem@davemloft.net>2022-08-24 12:59:18 +0100
commitaacd467c0a576e5e44d2de4205855dc0fe43f6fb (patch)
treeb8e1bbe8a078cbabf46f376446e4a3906638e694 /lib/memory-notifier-error-inject.c
parentnet: marvell: prestera: implement br_port_locked flag offloading (diff)
downloadlinux-rng-aacd467c0a576e5e44d2de4205855dc0fe43f6fb.tar.xz
linux-rng-aacd467c0a576e5e44d2de4205855dc0fe43f6fb.zip
tcp: annotate data-race around tcp_md5sig_pool_populated
tcp_md5sig_pool_populated can be read while another thread changes its value. The race has no consequence because allocations are protected with tcp_md5sig_mutex. This patch adds READ_ONCE() and WRITE_ONCE() to document the race and silence KCSAN. Reported-by: Abhishek Shah <abhishek.shah@columbia.edu> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions