summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-08-02 16:14:57 +0300
committerJakub Kicinski <kuba@kernel.org>2023-08-03 20:58:24 +0300
commit285ce119a3c6c4502585936650143e54c8692788 (patch)
treea51bad7b7b019df43ffd6fc1029481076a14a765 /scripts/gdb/linux/utils.py
parent949ad62a5d5311d36fce2e14fe5fed3f936da51c (diff)
downloadlinux-285ce119a3c6c4502585936650143e54c8692788.tar.xz
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 <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://lore.kernel.org/r/20230802131500.1478140-4-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions