[PATCH net-next] net: axienet: release every RX buffer in axienet_dma_bd_release()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Tue Oct 20 13:50:10 PDT 2026


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Thu, 15 Oct 2026 11:47:43 +0300 you wrote:
> The RX walk in axienet_dma_bd_release() stops at the first descriptor
> without an skb, assuming that such a slot and all after it were never
> filled.  That holds on the axienet_dma_bd_init() error path, but not once
> the ring has been running: when axienet_rx_poll() fails to allocate or
> map a replacement buffer it leaves the slot it emptied with a NULL skb,
> in the middle of a populated ring, until a later poll refills it.
> Closing the interface before then leaks the skb and the streaming DMA
> mapping of every descriptor after that slot, which can be most of the
> ring, and is most likely under memory pressure.
> 
> [...]

Here is the summary with links:
  - [net-next] net: axienet: release every RX buffer in axienet_dma_bd_release()
    https://git.kernel.org/netdev/net-next/c/b59787892d04

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





More information about the linux-arm-kernel mailing list