[PATCH net-next] net: ethernet: mtk_wed: Fix dma_unmap_single() size

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Tue Oct 20 12:00:17 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 16:01:09 +0200 you wrote:
> In mtk_wed_wo_queue_refill(), the entry->buf is DMA mapped with length
> q->buf_size which saved in entry->len. However, in mtk_wed_wo_dequeue(),
> the same buffer is DMA unmapped with length buf_len which is set to
> SKB_WITH_OVERHEAD(q->buf_size).
> 
> Change the size to q->buf_size.
> 
> [...]

Here is the summary with links:
  - [net-next] net: ethernet: mtk_wed: Fix dma_unmap_single() size
    https://git.kernel.org/netdev/net-next/c/ff5a2a7acec1

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-mediatek mailing list