[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173362202750.3128634.12775021527593555165.git-patchwork-notify@kernel.org>
Date: Sun, 08 Dec 2024 01:40:27 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Russell King (Oracle) <rmk+kernel@...linux.org.uk>
Cc: netdev@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
andrew+netdev@...n.ch, alexandre.torgue@...s.st.com, joabreu@...opsys.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
mcoquelin.stm32@...il.com, xfr@...look.com, 0x1207@...il.com,
jonathanh@...dia.com, thierry.reding@...il.com, horms@...nel.org,
hkelam@...vell.com
Subject: Re: [PATCH net] net: stmmac: fix TSO DMA API usage causing oops
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 06 Dec 2024 12:40:11 +0000 you wrote:
> Commit 66600fac7a98 ("net: stmmac: TSO: Fix unbalanced DMA map/unmap
> for non-paged SKB data") moved the assignment of tx_skbuff_dma[]'s
> members to be later in stmmac_tso_xmit().
>
> The buf (dma cookie) and len stored in this structure are passed to
> dma_unmap_single() by stmmac_tx_clean(). The DMA API requires that
> the dma cookie passed to dma_unmap_single() is the same as the value
> returned from dma_map_single(). However, by moving the assignment
> later, this is not the case when priv->dma_cap.addr64 > 32 as "des"
> is offset by proto_hdr_len.
>
> [...]
Here is the summary with links:
- [net] net: stmmac: fix TSO DMA API usage causing oops
https://git.kernel.org/netdev/net/c/4c49f38e20a5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists