Messages in this thread | | | Subject | Re: [PATCH v2] hv_netvsc: Add check for kvmalloc_array | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 16 Mar 2022 05:10:10 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by Jakub Kicinski <kuba@kernel.org>:
On Mon, 14 Mar 2022 10:01:25 +0800 you wrote: > As the potential failure of the kvmalloc_array(), > it should be better to check and restore the 'data' > if fails in order to avoid the dereference of the > NULL pointer. > > Fixes: 6ae746711263 ("hv_netvsc: Add per-cpu ethtool stats for netvsc") > Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> > > [...]
Here is the summary with links: - [v2] hv_netvsc: Add check for kvmalloc_array https://git.kernel.org/netdev/net/c/886e44c9298a
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |