Messages in this thread | | | Subject | Re: [PATCH net] qede: confirm skb is allocated before using | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 06 Apr 2022 14:20:13 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>:
On Wed, 6 Apr 2022 21:19:19 +1000 you wrote: > qede_build_skb() assumes build_skb() always works and goes straight > to skb_reserve(). However, build_skb() can fail under memory pressure. > This results in a kernel panic because the skb to reserve is NULL. > > Add a check in case build_skb() failed to allocate and return NULL. > > The NULL return is handled correctly in callers to qede_build_skb(). > > [...]
Here is the summary with links: - [net] qede: confirm skb is allocated before using https://git.kernel.org/netdev/net/c/4e910dbe3650
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |