diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-05-14 09:59:34 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-15 18:19:11 -0700 |
| commit | 55562d46621ce4750a68f252b2124deed70c0529 (patch) | |
| tree | f4e11c69cc42f7a0b7a493a51eb604829399891a /scripts/checkstack.pl | |
| parent | e54c33503bf7cebb1c1790251ce90f1252678081 (diff) | |
net/sched: sch_htb: annotate data-races (II)
htb_dump_class_stats() will soon run locklessly.
(no RTNL, not qdisc spinlock).
Remove cl->xstats and replace it with two fields:
- xstats_lends
- xstats_borrows
Then use READ_ONCE()/WRITE_ONCE() annotations on them, and change
htb_dump_class_stats to use a private struct tc_htb_xstats.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260514095935.3926276-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
