net: annotate data-races around sk->sk_mark
authorEric Dumazet <edumazet@google.com>
Fri, 28 Jul 2023 15:03:15 +0000 (15:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jul 2023 17:13:41 +0000 (18:13 +0100)
commit3c5b4d69c358a9275a8de98f87caf6eda644b086
treefa45713da2bb8c9dc9c4728dcdb990ebd86c98d5
parentb4b553253091cafe9ec38994acf42795e073bef5
net: annotate data-races around sk->sk_mark

sk->sk_mark is often read while another thread could change the value.

Fixes: 4a19ec5800fc ("[NET]: Introducing socket mark socket option.")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
23 files changed:
include/net/inet_sock.h
include/net/ip.h
include/net/route.h
net/can/raw.c
net/core/sock.c
net/dccp/ipv6.c
net/ipv4/inet_diag.c
net/ipv4/ip_output.c
net/ipv4/route.c
net/ipv4/tcp_ipv4.c
net/ipv6/ping.c
net/ipv6/raw.c
net/ipv6/route.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c
net/l2tp/l2tp_ip6.c
net/mptcp/sockopt.c
net/netfilter/nft_socket.c
net/netfilter/xt_socket.c
net/packet/af_packet.c
net/smc/af_smc.c
net/xdp/xsk.c
net/xfrm/xfrm_policy.c