diff options
author | Eric Dumazet <[email protected]> | 2023-08-02 13:14:58 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-08-03 10:58:24 -0700 |
commit | 8c4d04f6b443869d25e59822f7cec88d647028a9 (patch) | |
tree | e6f680d01cd1850c178a1f308da251bb383258a3 /drivers/fpga/fpga-mgr.c | |
parent | 285ce119a3c6c4502585936650143e54c8692788 (diff) |
tcp_metrics: annotate data-races around tm->tcpm_vals[]
tm->tcpm_vals[] values can be read or written locklessly.
Add needed READ_ONCE()/WRITE_ONCE() to document this,
and force use of tcp_metric_get() and tcp_metric_set()
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]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions