Re: [PATCH] net: return correct error code

From: patchwork-bot+netdevbpf
Date: Mon Nov 15 2021 - 09:31:59 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Mon, 15 Nov 2021 16:14:48 +0800 you wrote:
> When kmemdup called failed and register_net_sysctl return NULL, should
> return ENOMEM instead of ENOBUFS
>
> Signed-off-by: liuguoqiang <liuguoqiang@xxxxxxxxxxxxx>
> ---
> net/ipv4/devinet.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- net: return correct error code
https://git.kernel.org/netdev/net/c/6def480181f1

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