]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/sched: sch_fq_codel: annotate data-races from fq_codel_dump_class_stats()
authorEric Dumazet <edumazet@google.com>
Mon, 4 May 2026 16:38:42 +0000 (16:38 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 6 May 2026 01:01:28 +0000 (18:01 -0700)
commitf83e07b29246f468bc7c99f98ca1897843fa8167
tree32c4a95fe703b917ae27622e07b0fc3b75701b45
parent40aa9fcea0721f5b885eec2fb9aa526145e83797
net/sched: sch_fq_codel: annotate data-races from fq_codel_dump_class_stats()

fq_codel_dump_class_stats() acquires qdisc spinlock only when requested
to follow flow->head chain.

As we did in sch_cake recently, add the missing READ_ONCE()/WRITE_ONCE()
annotations.

Fixes: edb09eb17ed8 ("net: sched: do not acquire qdisc spinlock in qdisc/class stats dump")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com>
Link: https://patch.msgid.link/20260504163842.1162001-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sched/sch_fq_codel.c