summaryrefslogtreecommitdiffstats
path: root/net/vmw_vsock/vsock_addr.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-08-02 15:14:58 +0200
committerJakub Kicinski <kuba@kernel.org>2023-08-03 19:58:24 +0200
commit8c4d04f6b443869d25e59822f7cec88d647028a9 (patch)
treee6f680d01cd1850c178a1f308da251bb383258a3 /net/vmw_vsock/vsock_addr.c
parenttcp_metrics: annotate data-races around tm->tcpm_lock (diff)
downloadlinux-8c4d04f6b443869d25e59822f7cec88d647028a9.tar.xz
linux-8c4d04f6b443869d25e59822f7cec88d647028a9.zip
tcp_metrics: annotate data-races around tm->tcpm_vals[]
tm->tcpm_vals[] values can be read or written locklessly. Add needed READ_ONCE()/WRITE_ONCE() to document this, and force use of tcp_metric_get() and tcp_metric_set() Fixes: 51c5d0c4b169 ("tcp: Maintain dynamic metrics in local cache.") Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/vmw_vsock/vsock_addr.c')
0 files changed, 0 insertions, 0 deletions