diff options
author | Eric Dumazet <edumazet@google.com> | 2025-07-09 09:01:53 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-11 16:01:15 -0700 |
commit | 30dbb2d0e16fce445581049ebcd9043837a843ac (patch) | |
tree | 771de070ce8e91f1c5a1e7b5773c1e20bc6b5c44 /net/unix/af_unix.c | |
parent | 0346000aaab8cf8baf4ae40c48a5779a03971e80 (diff) |
net_sched: act: annotate data-races in tcf_lastuse_update() and tcf_tm_dump()
tcf_tm_dump() reads fields that can be changed concurrently,
and tcf_lastuse_update() might race against itself.
Add READ_ONCE() and WRITE_ONCE() annotations.
Fetch jiffies once in tcf_tm_dump().
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250709090204.797558-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions