]> git.ipfire.org Git - thirdparty/linux.git/commit
tcp: annotate data-races around icsk->icsk_probes_out
authorEric Dumazet <edumazet@google.com>
Fri, 22 Aug 2025 09:17:26 +0000 (09:17 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 25 Aug 2025 23:20:59 +0000 (16:20 -0700)
commit9bd999eb35cfcc404fb640712f9023f51a303cbe
treea9a7dfe8682e23351d9af2aa1aafd75ba27d3e05
parente6f178be3c12cd6b8fb1b81dd0b9118e0a0d0333
tcp: annotate data-races around icsk->icsk_probes_out

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.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Link: https://patch.msgid.link/20250822091727.835869-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/inet_diag.c
net/ipv4/tcp.c
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_output.c
net/ipv4/tcp_timer.c
net/ipv6/tcp_ipv6.c