Re: [PATCH net] net/sched: sch_cake: fix autorate reconfiguration throttling
From: Paolo Abeni
Date: Thu Aug 20 2026 - 09:07:24 EST
On 8/16/26 3:21 AM, ooonea wrote:
> CAKE's autorate-ingress path intends to limit shaper reconfiguration to
> once per 250 ms, but last_reconfig_time is only checked and never updated.
> Since the field stays zero, every qualifying capacity-estimate window can
> call cake_reconfigure(), causing avoidable rate churn and scheduler work
> under bursty traffic.
>
> Store the current timestamp when autorate actually reconfigures the qdisc
> so the guard enforces the intended interval.
>
> Fixes: 7298de9cd725 ("sch_cake: Add ingress mode")
> Assisted-by: Codex:gpt-5.5
> Signed-off-by: ooonea <ooonea@xxxxxxxxx>
The SoB must contain your real full name, and not a nick.
/P