Re: [PATCH] net/ncsi: check for error return from call to nla_put_u32

From: patchwork-bot+netdevbpf
Date: Wed Dec 29 2021 - 21:30:15 EST


Hello:

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

On Wed, 29 Dec 2021 11:21:18 +0800 you wrote:
> As we can see from the comment of the nla_put() that it could return
> -EMSGSIZE if the tailroom of the skb is insufficient.
> Therefore, it should be better to check the return value of the
> nla_put_u32 and return the error code if error accurs.
> Also, there are many other functions have the same problem, and if this
> patch is correct, I will commit a new version to fix all.
>
> [...]

Here is the summary with links:
- net/ncsi: check for error return from call to nla_put_u32
https://git.kernel.org/netdev/net/c/92a34ab169f9

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