Re: [PATCH net 0/6] net/sched: Fix packet loops in mirred and netem
From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2026-01-14 16:40:30
Also in:
netfilter-devel
From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2026-01-14 16:40:30
Also in:
netfilter-devel
On Tue, Jan 13, 2026 at 9:07 PM Jakub Kicinski [off-list ref] wrote:
On Sun, 11 Jan 2026 11:39:41 -0500 Jamal Hadi Salim wrote:quoted
We introduce a 2-bit global skb->ttl counter.Patch #1 describes how we puti together those bits. Patches #2 and patch #5 use these bits. I added Fixes tags to patch #1 in case it is useful for backporting. Patch #3 and #4 revert William's earlier netem commits. Patch #6 introduces tdc test cases.TC is not the only way one can loop packets in the kernel forever. Are we now supposed to find and prevent them all?
These two are trivial to reproduce with simple configs. They consume both CPU and memory resources. I am not aware of other forever packet loops - but if you are we can look into them. cheers, jamal