Re: [PATCH net v4] net: axienet: free outstanding TX buffers in axienet_dma_bd_release()

From: patchwork-bot+netdevbpf

Date: Thu Oct 15 2026 - 03:30:24 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Wed, 7 Oct 2026 06:46:20 +0300 you wrote:
> axienet_dma_bd_release() walks the RX ring to unmap and free every
> receive buffer before releasing it, but frees the TX descriptor ring
> with dma_free_coherent() alone. Any descriptor that
> axienet_free_tx_chain() had not yet reclaimed still holds its skb and
> its streaming DMA mapping, and both are lost.
>
> axienet_stop() disables TX NAPI and stops the DMA engine before calling
> it, so nothing reclaims those descriptors afterwards. Bringing the
> interface down while frames are in flight therefore leaks up to
> lp->tx_bd_num skbs and mappings each time.
>
> [...]

Here is the summary with links:
- [net,v4] net: axienet: free outstanding TX buffers in axienet_dma_bd_release()
https://git.kernel.org/netdev/net-next/c/0c20cb4cfb40

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