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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Oct 2023 18:09:54 +0000 (19:09 +0100)
commiteb44ad4e635132754bfbcb18103f1dcb7058aedd
tree5a49235d004d92fa6330bbeacf24b5252cea032c
parent0bb4d124d34044179b42a769a0c76f389ae973b6
net: annotate data-races around sk->sk_dst_pending_confirm

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>
include/net/sock.h
net/core/sock.c
net/ipv4/tcp_output.c