Re: [PATCH] net: ethernet: nixge: fix NULL dereference

From: patchwork-bot+netdevbpf
Date: Mon Nov 28 2022 - 06:22:11 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 24 Nov 2022 11:43:03 +0300 you wrote:
> In function nixge_hw_dma_bd_release() dereference of NULL pointer
> priv->rx_bd_v is possible for the case of its allocation failure in
> nixge_hw_dma_bd_init().
>
> Move for() loop with priv->rx_bd_v dereference under the check for
> its validity.
>
> [...]

Here is the summary with links:
- net: ethernet: nixge: fix NULL dereference
https://git.kernel.org/netdev/net/c/9256db4e45e8

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html