Re: [PATCH net v2] net: dlink: handle dma_map_single() failure properly
From: patchwork-bot+netdevbpf
Date: Sun Oct 12 2025 - 14:10:22 EST
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:
On Fri, 10 Oct 2025 00:57:16 +0900 you wrote:
> There is no error handling for `dma_map_single()` failures.
>
> Add error handling by checking `dma_mapping_error()` and freeing
> the `skb` using `dev_kfree_skb()` (process context) when it fails.
>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Signed-off-by: Yeounsu Moon <yyyynoom@xxxxxxxxx>
> Tested-on: D-Link DGE-550T Rev-A3
> Suggested-by: Simon Horman <horms@xxxxxxxxxx>
>
> [...]
Here is the summary with links:
- [net,v2] net: dlink: handle dma_map_single() failure properly
https://git.kernel.org/netdev/net/c/65946eac6d88
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html