* Backport request: fq_codel stale-state fix (815980fe6dbb)
@ 2026-10-26 10:13 Gyutae Bae
2026-10-26 22:55 ` Sasha Levin
0 siblings, 1 reply; 2+ messages in thread
From: Gyutae Bae @ 2026-10-26 10:13 UTC (permalink / raw)
To: stable
Cc: Jonas Köppeler, Jesper Dangaard Brouer,
Toke Høiland-Jørgensen, Eric Dumazet, Jakub Kicinski,
netdev, Minsu Jeon, Jonghyeon Kim, Siwan Kim, Gyutae Bae
Hi,
Please backport the following upstream commit to 5.10.y, 5.15.y,
6.1.y, 6.6.y, 6.12.y and 6.18.y:
815980fe6dbb01ad4007e8b260a45617f598b76d
net_sched: codel: fix stale state for empty flows in fq_codel
This fixes stale CoDel state that causes packet drops in sparse
flows. When a flow's queue becomes empty, first_above_time is not
reset, so a later packet can be dropped based on the old timestamp.
We have encountered this in production on 5.15 nodes using the default
mq + fq_codel setup, with steady qdisc drops on lightly loaded links.
A kprobe on the fq_codel drop path showed that every drop we traced
occurred with first_above_time set more than one second earlier.
Applying the fix as a livepatch on a 5.15 node reduced its drops from
about 50 per minute to zero. We also confirmed that the fix eliminated
these drops in tests that reproduced the issue on 5.15.92 and 6.12.48.
The fix adds one line to include/net/codel_impl.h. It applies cleanly
to v5.10.272, v5.15.223, v6.1.190, v6.6.160, v6.12.114 and v6.18.58.
Both commits identified by the Fixes: tags are present in all six
longterm trees.
The commit was merged in v7.0 without a Cc: stable tag and was
backported to 6.19.11 as 86b81a5c24ad. It is already included in
7.2.y, but is still missing from the longterm trees listed above.
Thanks,
Gyutae Bae
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Backport request: fq_codel stale-state fix (815980fe6dbb)
2026-10-26 10:13 Backport request: fq_codel stale-state fix (815980fe6dbb) Gyutae Bae
@ 2026-10-26 22:55 ` Sasha Levin
0 siblings, 0 replies; 2+ messages in thread
From: Sasha Levin @ 2026-10-26 22:55 UTC (permalink / raw)
To: stable
Cc: Sasha Levin, Jonas Köppeler, Jesper Dangaard Brouer,
Toke Høiland-Jørgensen, Eric Dumazet, Jakub Kicinski,
netdev, Minsu Jeon, Jonghyeon Kim, Siwan Kim, Gyutae Bae,
Gyutae Bae
> Please backport the following upstream commit to 5.10.y, 5.15.y,
> 6.1.y, 6.6.y, 6.12.y and 6.18.y:
>
> 815980fe6dbb01ad4007e8b260a45617f598b76d
> net_sched: codel: fix stale state for empty flows in fq_codel
Queued for 6.18, 6.12, 6.6, 6.1, 5.15 and 5.10, thanks.
--
Thanks,
Sasha
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-26 22:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-26 10:13 Backport request: fq_codel stale-state fix (815980fe6dbb) Gyutae Bae
2026-10-26 22:55 ` Sasha Levin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox