Re: [PATCH net] net: ethernet: ec_bhf: Fix dma_free_coherent() dma handle

From: patchwork-bot+netdevbpf

Date: Tue Feb 17 2026 - 20:30:39 EST


Hello:

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

On Fri, 13 Feb 2026 17:43:39 +0100 you wrote:
> dma_free_coherent() in error path takes priv->rx_buf.alloc_len as
> the dma handle. This would lead to improper unmapping of the buffer.
>
> Change the dma handle to priv->rx_buf.alloc_phys.
>
> Fixes: 6af55ff52b02 ("Driver for Beckhoff CX5020 EtherCAT master module.")
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Thomas Fourier <fourier.thomas@xxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net] net: ethernet: ec_bhf: Fix dma_free_coherent() dma handle
https://git.kernel.org/netdev/net/c/ffe68c376699

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