Messages in this thread | | | Subject | Re: [PATCH] net/ncsi: check for error return from call to nla_put_u32 | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 30 Dec 2021 02:30:10 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by Jakub Kicinski <kuba@kernel.org>:
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
| |