Re: [PATCH net v3 0/2] net/sched: serialize qdisc timers and defer SFQ rehashing
From: Paolo Abeni
Date: Thu Dec 03 2026 - 06:55:29 EST
On 11/24/26 18:38, Kyle Zeng wrote:
This series retains the v2 timer/reset fix and adds one focused SFQYou must post new revision in new threads, otherwise our tools will
change for the detached-timer accounting issue identified in review.
Patch 1 has the same source changes as v2. Patch 2 moves periodic SFQ
hash perturbation to enqueue, where the key change and rehash run under
the packet-path lock. This prevents the autonomous timer from walking
the live device's ancestor handles after its own hierarchy is detached.
The separate HTB queue-association and offloaded-leaf purge findings
remain follow-up work. This revision does not claim to fix those paths.
The original PoC caused SFQ memory corruption on an unchanged kernel.
A separate unchanged-kernel QEMU run reproduced the detached-SFQ warning
in qdisc_tree_reduce_backlog().
Changes in v3:
- Retain v2 as patch 1, with its code unchanged.
- Add the SFQ-only detached-timer fix as patch 2.
- Preserve the first perturbation interval and use deferred skb freeing.
get fouled in multiple ways. You need to re-submit.
Also patch 2 looks too invasive for net/stable, any additional
effort to shrink the diffstat would be appreciated.
/P