Messages in this thread | | | Subject | Re: [PATCH v2] net: dsa: felix: fix possible NULL pointer dereference | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 30 Mar 2022 19:30:12 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by Jakub Kicinski <kuba@kernel.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@huawei.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
| |