Thread (6 messages) 6 messages, 5 authors, 15d ago

Re: [PATCH net v4] net: mvneta: clear XDP pfmemalloc flag between frames

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-10-01 01:00:08
Also in: bpf

Hello:

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

On Tue, 29 Sep 2026 15:43:03 +0200 you wrote:
mvneta_swbm_add_rx_fragment() sets XDP_FLAGS_FRAGS_PF_MEMALLOC on the
xdp_buff when a fragment page is a pfmemalloc one (page under memory
pressure). The xdp_buff is reused for the next frame, but only the
XDP_FLAGS_HAS_FRAGS bit was cleared at frame start, so the pfmemalloc
bit leaked from one frame into the following ones. mvneta_swbm_build_skb()
propagates the flag to skb->pfmemalloc through xdp_update_skb_frags_info(),
so the skb of a subsequent fragmented frame could be wrongly marked as
pfmemalloc even if none of its pages are under pressure.

[...]
Here is the summary with links:
  - [net,v4] net: mvneta: clear XDP pfmemalloc flag between frames
    https://git.kernel.org/netdev/net/c/8f1c2a10500a

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