Re: [PATCH] net/sched: cake: clamp active flow deficit on rate changes
From: Eric Dumazet
Date: Mon Jun 08 2026 - 21:10:37 EST
On Mon, Jun 8, 2026 at 5:08 PM Samuel Moelius
<sam.moelius@xxxxxxxxxxxxxxx> wrote:
>
> Changing CAKE rate parameters updates the quantum used for future
> scheduling, but active flows can retain deficit computed under the old
> rate.
>
> That stale deficit lets an already active flow receive service based on
> the previous configuration after userspace changes the shaper rate.
>
> After recomputing rate-derived scheduling parameters, clamp positive
> active-flow deficits to the quantum that applies under the new
> configuration.
>
> Assisted-by: Codex:gpt-5.5-cyber-preview
> Signed-off-by: Samuel Moelius <sam.moelius@xxxxxxxxxxxxxxx>
> ---
This is bloat for a not existent issue.
pw-bot: cr