Thread (8 messages) read the whole thread 8 messages, 4 authors, 2026-06-21

Re: [PATCH v3 1/2] net/sched: dualpi2: fix GSO backlog accounting

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-06-21 22:20:25
Also in: stable

Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Fri, 19 Jun 2026 11:13:47 -0400 you wrote:
When DualPI2 splits a GSO skb into N segments, it propagates N
additional packets to its parent before returning NET_XMIT_SUCCESS.
The parent then accounts for the original skb once more, leaving its
qlen one larger than the number of packets actually queued.

With QFQ as the parent, after all real packets are dequeued, QFQ still
has a non-zero qlen while its in-service aggregate has no active
classes. qfq_choose_next_agg() returns NULL and qfq_dequeue() passes
the result to qfq_peek_skb(), causing a NULL pointer dereference.

[...]
Here is the summary with links:
  - [v3,1/2] net/sched: dualpi2: fix GSO backlog accounting
    https://git.kernel.org/netdev/net/c/05ed733b65ab
  - [v3,2/2] selftests/tc-testing: Add DualPI2 GSO backlog accounting test
    https://git.kernel.org/netdev/net/c/54704b32b2ab

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help