Re: [PATCH] wireless/nl80211: Handle errors for nla_memdup

From: patchwork-bot+netdevbpf
Date: Tue Mar 01 2022 - 09:50:15 EST


Hello:

This patch was applied to netdev/net.git (master)
by Johannes Berg <johannes.berg@xxxxxxxxx>:

On Tue, 1 Mar 2022 18:00:20 +0800 you wrote:
> As the potential failure of the nla_memdup(),
> it should be better to check it, as same as kmemdup().
>
> Fixes: a442b761b24b ("cfg80211: add add_nan_func / del_nan_func")
> Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx>
> ---
> net/wireless/nl80211.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)

Here is the summary with links:
- wireless/nl80211: Handle errors for nla_memdup
https://git.kernel.org/netdev/net/c/6ad27f522cb3

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html