[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164866861243.12292.10767729029354514539.git-patchwork-notify@kernel.org>
Date: Wed, 30 Mar 2022 19:30:12 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: zhengyongjun <zhengyongjun3@...wei.com>
Cc: andrew@...n.ch, vivien.didelot@...il.com, f.fainelli@...il.com,
davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, vladimir.oltean@....com,
claudiu.manoil@....com, alexandre.belloni@...tlin.com,
UNGLinuxDriver@...rochip.com
Subject: Re: [PATCH v2] net: dsa: felix: fix possible NULL pointer dereference
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 29 Mar 2022 09:08:00 +0000 you wrote:
> As the possible failure of the allocation, kzalloc() may return NULL
> pointer.
> Therefore, it should be better to check the 'sgi' in order to prevent
> the dereference of NULL pointer.
>
> Fixes: 23ae3a7877718 ("net: dsa: felix: add stream gate settings for psfp").
> Signed-off-by: Zheng Yongjun <zhengyongjun3@...wei.com>
>
> [...]
Here is the summary with links:
- [v2] net: dsa: felix: fix possible NULL pointer dereference
https://git.kernel.org/netdev/net/c/866b7a278cdb
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