Re: [PATCH net] veth: fix queue index used to wake the peer txq in veth_poll
From: patchwork-bot+netdevbpf
Date: Mon Aug 10 2026 - 19:21:28 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 6 Aug 2026 13:43:49 +0200 you wrote:
> veth_poll() derives the index of the peer TX queue to wake from
> rq->xdp_rxq.queue_index. That field is only initialized by
> xdp_rxq_info_reg() in veth_enable_xdp_range(), which runs only when an
> XDP program is attached. On the plain GRO/NAPI path
> (veth_napi_enable_range()) xdp_rxq_info_reg() is never called, so
> queue_index stays 0 for every queue, as priv->rq is zero-allocated. The
> same happens once an XDP program is detached while GRO stays enabled,
> since xdp_rxq_info_unreg() clears the struct again.
>
> [...]
Here is the summary with links:
- [net] veth: fix queue index used to wake the peer txq in veth_poll
https://git.kernel.org/netdev/net/c/60db47f02bfa
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html