Thread (2 messages) 2 messages, 2 authors, 2025-09-30

Re: [PATCH net v4] net: dlink: handle copy_thresh allocation failure

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-09-30 02:00:19
Also in: lkml

Hello:

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

On Mon, 29 Sep 2025 04:01:24 +0900 you wrote:
The driver did not handle failure of `netdev_alloc_skb_ip_align()`.
If the allocation failed, dereferencing `skb->protocol` could lead to
a NULL pointer dereference.

This patch tries to allocate `skb`. If the allocation fails, it falls
back to the normal path.

[...]
Here is the summary with links:
  - [net,v4] net: dlink: handle copy_thresh allocation failure
    https://git.kernel.org/netdev/net/c/8169a6011c5f

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