]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/sched: sch_htb: annotate data-races (III)
authorEric Dumazet <edumazet@google.com>
Thu, 14 May 2026 09:59:35 +0000 (09:59 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 16 May 2026 01:19:11 +0000 (18:19 -0700)
commite249ae717beb95fdf56e094faee1d98ffdc48596
tree0be8bc4502c49703af3be150a2e32fb2a9795177
parent55562d46621ce4750a68f252b2124deed70c0529
net/sched: sch_htb: annotate data-races (III)

htb_dump_class_stats() will soon run locklessly.

(no RTNL, not qdisc spinlock).

Add READ_ONCE()/WRITE_ONCE() annotations on these fields:

- cl->overlimits
- cl->drops
- cl->tokens
- cl->ctokens

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260514095935.3926276-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sched/sch_htb.c