diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-04-16 23:03:06 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-18 21:10:11 +0300 |
| commit | 267bf3cf9a6f0ffb98b8afd983c1950e835f07c9 (patch) | |
| tree | e28fa60e43d0cebc1692e3d8917d36925c23301d /include/linux | |
| parent | 82c21069028c5db3463f851ae8ac9cc2e38a3827 (diff) | |
| download | linux-267bf3cf9a6f0ffb98b8afd983c1950e835f07c9.tar.xz | |
tcp: annotate data-races in tcp_get_info_chrono_stats()
tcp_get_timestamping_opt_stats() does not own the socket lock,
this is intentional.
It calls tcp_get_info_chrono_stats() while other threads could
change chrono fields in tcp_chrono_set().
I do not think we need coherent TCP socket state snapshot
in tcp_get_timestamping_opt_stats(), I chose to only
add annotations to keep KCSAN happy.
Fixes: 1c885808e456 ("tcp: SOF_TIMESTAMPING_OPT_STATS option for SO_TIMESTAMPING")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260416200319.3608680-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
