summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2026-04-16 23:03:07 +0300
committerJakub Kicinski <kuba@kernel.org>2026-04-18 21:10:12 +0300
commit21e92a38cfd891538598ba8f805e0165a820d532 (patch)
tree27511c2b82c9278f5791eb89282a4c45a2dbc97a /include/net
parent267bf3cf9a6f0ffb98b8afd983c1950e835f07c9 (diff)
downloadlinux-21e92a38cfd891538598ba8f805e0165a820d532.tar.xz
tcp: add data-race annotations around tp->data_segs_out and tp->total_retrans
tcp_get_timestamping_opt_stats() intentionally runs lockless, we must add READ_ONCE() and WRITE_ONCE() annotations to keep KCSAN happy. Fixes: 7e98102f4897 ("tcp: record pkts sent and retransmistted") Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20260416200319.3608680-3-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions