]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/sched: sch_cake: annotate data-races in cake_dump_stats() (V)
authorEric Dumazet <edumazet@google.com>
Mon, 27 Apr 2026 08:36:06 +0000 (08:36 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 29 Apr 2026 01:27:51 +0000 (18:27 -0700)
commita6c95b833dc17e84d16a8ac0f40fd0931616a52d
tree1a16997fcdd83c2e0e8430826d79f5e6a95c1855
parent8fab48d87745a6ab1cec594b8d5865d9ae2db879
net/sched: sch_cake: annotate data-races in cake_dump_stats() (V)

cake_dump_stats() runs without qdisc spinlock being held.

In this final patch, I add READ_ONCE()/WRITE_ONCE() annotations
for cparams.target and cparams.interval.

Fixes: 046f6fd5daef ("sched: Add Common Applications Kept Enhanced (cake) qdisc")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: "Toke Høiland-Jørgensen" <toke@toke.dk>
Link: https://patch.msgid.link/20260427083606.459355-6-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sched/sch_cake.c