Thread (2 messages) 2 messages, 2 authors, 2022-11-02

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-11-02 04:30:26
Also in: lkml

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski [off-list ref]:

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help