Re: [PATCH net-next v2] drivers: net: xgene: Fix dma_unmap_single() size

From: patchwork-bot+netdevbpf

Date: Tue Oct 20 2026 - 15:04:36 EST


Hello:

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

On Thu, 15 Oct 2026 14:45:46 +0200 you wrote:
> In xgene_enet_refill_bufpool(), the skb->data is dma-mapped with length
> len which is set to XGENE_ENET_STD_MTU which equals 1536. However, in
> xgene_enet_delete_bufpool(), the same buffer is unmapped with length
> XGENE_ENET_MAX_MTU which is 9600. This may erroneously unmap other
> DMA buffers or cause other issues.
>
> Change unmap length to XGENE_ENET_STD_MTU.
>
> [...]

Here is the summary with links:
- [net-next,v2] drivers: net: xgene: Fix dma_unmap_single() size
https://git.kernel.org/netdev/net-next/c/03977f8f1a63

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