]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Merge branch 'tcp-annotate-data-races-around-icsk_retransmits-and-icsk_probes_out'
authorJakub Kicinski <kuba@kernel.org>
Mon, 25 Aug 2025 23:21:01 +0000 (16:21 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 25 Aug 2025 23:21:01 +0000 (16:21 -0700)
Eric Dumazet says:

====================
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.
====================

Link: https://patch.msgid.link/20250822091727.835869-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge