diff options
| author | Eric Dumazet <[email protected]> | 2023-08-02 13:14:57 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-08-03 17:58:24 +0000 |
| commit | 285ce119a3c6c4502585936650143e54c8692788 (patch) | |
| tree | a51bad7b7b019df43ffd6fc1029481076a14a765 /rust/helpers.c | |
| parent | tcp_metrics: annotate data-races around tm->tcpm_stamp (diff) | |
| download | kernel-285ce119a3c6c4502585936650143e54c8692788.tar.gz kernel-285ce119a3c6c4502585936650143e54c8692788.zip | |
tcp_metrics: annotate data-races around tm->tcpm_lock
tm->tcpm_lock can be read or written locklessly.
Add needed READ_ONCE()/WRITE_ONCE() to document this.
Fixes: 51c5d0c4b169 ("tcp: Maintain dynamic metrics in local cache.")
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
