Re: [PATCH] net/sched: ets: reseed class deficit after quantum changes

From: Eric Dumazet

Date: Mon Jun 08 2026 - 21:15:02 EST


On Mon, Jun 8, 2026 at 5:38 PM Samuel Moelius
<sam.moelius@xxxxxxxxxxxxxxx> wrote:
>
> ETS class reconfiguration can change a class quantum while the class
> remains active. The scheduler keeps the old deficit and spends that
> stale credit under the new configuration.
>
> This can be observed by making a class active, changing its quantum, and
> then dequeuing with the old deficit still present.
>
> When an active class quantum changes, reseed its deficit from the new
> quantum so the new class parameters take effect immediately.
>
> Assisted-by: Codex:gpt-5.5-cyber-preview
> Signed-off-by: Samuel Moelius <sam.moelius@xxxxxxxxxxxxxxx>
> ---

NACK