Re: [PATCH v2] hv_netvsc: Add check for kvmalloc_array

From: patchwork-bot+netdevbpf
Date: Wed Mar 16 2022 - 01:10:18 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

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@xxxxxxxxxxx>
>
> [...]

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