Re: [PATCH] net: prestera: acl: Add check for kmemdup
From: patchwork-bot+netdevbpf
Date: Mon Oct 03 2022 - 07:40:24 EST
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:
On Fri, 30 Sep 2022 12:48:43 +0800 you wrote:
> As the kemdup could return NULL, it should be better to check the return
> value and return error if fails.
> Moreover, the return value of prestera_acl_ruleset_keymask_set() should
> be checked by cascade.
>
> Fixes: 604ba230902d ("net: prestera: flower template support")
> Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx>
>
> [...]
Here is the summary with links:
- net: prestera: acl: Add check for kmemdup
https://git.kernel.org/netdev/net/c/9e6fd874c7bb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html