Re: [PATCH net] net: lan966x: Fix unmapping of received frames using FDMA

From: patchwork-bot+netdevbpf
Date: Wed Nov 02 2022 - 00:30:26 EST


Hello:

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

On Mon, 31 Oct 2022 14:34:21 +0100 you wrote:
> When lan966x was receiving a frame, then it was building the skb and
> after that it was calling dma_unmap_single with frame size as the
> length. This actually has 2 issues:
> 1. It is using a length to map and a different length to unmap.
> 2. When the unmap was happening, the data was sync for cpu but it could
> be that this will overwrite what build_skb was initializing.
>
> [...]

Here is the summary with links:
- [net] net: lan966x: Fix unmapping of received frames using FDMA
https://git.kernel.org/netdev/net/c/fc57062f98b0

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