[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <164925481303.16469.8192990223353492835.git-patchwork-notify@kernel.org>
Date: Wed, 06 Apr 2022 14:20:13 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jamie Bainbridge <jamie.bainbridge@...il.com>
Cc: aelior@...vell.com, manishc@...vell.com, davem@...emloft.net,
kuba@...nel.org, pabeni@...hat.com, ariel.elior@...ium.com,
manish.chopra@...ium.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] qede: confirm skb is allocated before using
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.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
Powered by blists - more mailing lists