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:19:38 +0000 (17:19 +0000)
commit87324a50b4e833289bbe22339eccbc42e4d0578a
tree503b780cbc113a96d3d7c8c9ebd157fcf18cba6a
parent224f68c507b1eb6af1421af4a23680df6849c710
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