net: annotate data-races around sk->sk_dst_pending_confirm
authorEric Dumazet <edumazet@google.com>
Thu, 21 Sep 2023 20:28:18 +0000 (20:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:06:56 +0000 (17:06 +0000)
commit1c6a6c926abfd6be1cee613ef21a94ab8d253732
treef5edf63a0cdce8b8228e4e92e36f9d86864530b9
parente7960d2a09d4f5b1f0de05152cddbb2229db2a8a
net: annotate data-races around sk->sk_dst_pending_confirm

[ Upstream commit eb44ad4e635132754bfbcb18103f1dcb7058aedd ]

This field can be read or written without socket lock being held.

Add annotations to avoid load-store tearing.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/sock.h
net/core/sock.c
net/ipv4/tcp_output.c