Re: [PATCH net] net/sched: sch_choke: fix skb leak on packet ring wrap

From: Junyoung Jang

Date: Fri Dec 04 2026 - 22:55:24 EST


On 11/26/26 20:19, Paolo Abeni wrote:
> On 11/26/26 15:11, Junyoung Jang wrote:
...
> Sashiko noted the above causes a behavior change:
>
> https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261126141137.1261866-1-graypanda.inzag@xxxxxxxxx
>
> and I think we should avoid it.

Thanks for pointing this out. I just sent v2, which sizes the ring for
holes and compacts live entries before wrap so admissions below
q->limit are preserved:

https://lore.kernel.org/netdev/20261205035232.2243251-1-graypanda.inzag@xxxxxxxxx/