Re: [PATCH net] net: mana: fix XDP_REDIRECT of pre-allocated RX buffers

From: patchwork-bot+netdevbpf

Date: Tue Nov 10 2026 - 13:25:20 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 2 Nov 2026 06:43:24 +0000 you wrote:
> mana_pre_alloc_rxbufs() fills the RX rings with plain pages from
> dev_alloc_pages() (from_pool == false), but the rxq is registered with
> MEM_TYPE_PAGE_POOL and mana_run_xdp() builds every xdp_buff with that
> rxq info. mana_rx_skb() frees a !from_pool buffer correctly on
> XDP_PASS, XDP_TX and XDP_DROP, but a redirected buffer is freed through
> its memory model: __xdp_return() hands the plain page to
> page_pool_put_full_netmem(). This triggers the WARN in
> include/net/page_pool/helpers.h, breaks the page refcount, RX refills
> fail and the queue stops receiving.
>
> [...]

Here is the summary with links:
- [net] net: mana: fix XDP_REDIRECT of pre-allocated RX buffers
https://git.kernel.org/netdev/net/c/67869597fab0

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