Thread (4 messages) 4 messages, 3 authors, 2025-10-12

Re: [PATCH net v2] net: dlink: handle dma_map_single() failure properly

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-10-12 18:10:22
Also in: lkml

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller [off-list ref]:

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 <redacted>
Tested-on: D-Link DGE-550T Rev-A3
Suggested-by: Simon Horman <horms@kernel.org>

[...]
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

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