diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-04-21 17:16:55 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-23 07:12:59 +0300 |
| commit | 1ada03fdef82d3d7d2edb9dcd3acc91917675e48 (patch) | |
| tree | f35ed70d3c3f9271c6ee930906646095935ed48d /scripts/decode_stacktrace.sh | |
| parent | a8f5192809caf636d05ba47c144f282cfd0e3839 (diff) | |
| download | linux-1ada03fdef82d3d7d2edb9dcd3acc91917675e48.tar.xz | |
net/sched: sch_sfb: annotate data-races in sfb_dump_stats()
sfb_dump_stats() only runs with RTNL held,
reading fields that can be changed in qdisc fast path.
Add READ_ONCE()/WRITE_ONCE() annotations.
Alternative would be to acquire the qdisc spinlock, but our long-term
goal is to make qdisc dump operations lockless as much as we can.
tc_sfb_xstats fields don't need to be latched atomically,
otherwise this bug would have been caught earlier.
Fixes: edb09eb17ed8 ("net: sched: do not acquire qdisc spinlock in qdisc/class stats dump")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260421141655.3953721-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions
