]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/sched: sch_cake: fixup cake_mq rate adjustment for diffserv config
authorJonas Köppeler <j.koeppeler@tu-berlin.de>
Thu, 26 Feb 2026 11:40:16 +0000 (12:40 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 28 Feb 2026 02:35:40 +0000 (18:35 -0800)
commit15c2715a52645fd8e6e18b7abc3449292d118c7c
treee0f47685f21bb99d5b7b57183b848ec5f0eafaf6
parent0b3cd139be565b85f4a3579e376152b9def6256a
net/sched: sch_cake: fixup cake_mq rate adjustment for diffserv config

cake_mq's rate adjustment during the sync periods did not adjust the
rates for every tin in a diffserv config. This lead to inconsistencies
of rates between the tins. Fix this by setting the rates for all tins
during synchronization.

Fixes: 1bddd758bac2 ("net/sched: sch_cake: share shaper state across sub-instances of cake_mq")
Signed-off-by: Jonas Köppeler <j.koeppeler@tu-berlin.de>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20260226-cake-mq-skip-sync-bandwidth-unlimited-v1-2-01830bb4db87@tu-berlin.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sched/sch_cake.c