[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250822091727.835869-1-edumazet@google.com>
Date: Fri, 22 Aug 2025 09:17:24 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Neal Cardwell <ncardwell@...gle.com>
Cc: Simon Horman <horms@...nel.org>, Kuniyuki Iwashima <kuniyu@...gle.com>, netdev@...r.kernel.org,
eric.dumazet@...il.com, Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH net-next 0/2] tcp: annotate data-races around icsk_retransmits
and icsk_probes_out
icsk->icsk_retransmits is read locklessly from inet_sk_diag_fill(),
tcp_get_timestamping_opt_stats, get_tcp4_sock() and get_tcp6_sock().
icsk->icsk_probes_out is read locklessly from inet_sk_diag_fill(),
get_tcp4_sock() and get_tcp6_sock().
Add corresponding READ_ONCE()/WRITE_ONCE() annotations.
Eric Dumazet (2):
tcp: annotate data-races around icsk->icsk_retransmits
tcp: annotate data-races around icsk->icsk_probes_out
net/ipv4/inet_diag.c | 6 +++---
net/ipv4/tcp.c | 5 +++--
net/ipv4/tcp_input.c | 8 ++++----
net/ipv4/tcp_ipv4.c | 4 ++--
net/ipv4/tcp_output.c | 6 +++---
net/ipv4/tcp_timer.c | 6 +++---
net/ipv6/tcp_ipv6.c | 4 ++--
net/mptcp/protocol.c | 3 ++-
8 files changed, 22 insertions(+), 20 deletions(-)
--
2.51.0.rc2.233.g662b1ed5c5-goog
Powered by blists - more mailing lists