Re: [PATCH] net_sched: codel: fix stale state for empty flows in fq_codel
From: patchwork-bot+netdevbpf
Date: Wed Mar 25 2026 - 00:17:25 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 23 Mar 2026 18:49:20 +0100 you wrote:
> From: Jonas Köppeler <j.koeppeler@xxxxxxxxxxxx>
>
> When codel_dequeue() finds an empty queue, it resets vars->dropping
> but does not reset vars->first_above_time. The reference CoDel
> algorithm (Nichols & Jacobson, ACM Queue 2012) resets both:
>
> dodeque_result codel_queue_t::dodeque(time_t now) {
> ...
> if (r.p == NULL) {
> first_above_time = 0; // <-- Linux omits this
> }
> ...
> }
>
> [...]
Here is the summary with links:
- net_sched: codel: fix stale state for empty flows in fq_codel
https://git.kernel.org/netdev/net/c/815980fe6dbb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html