Re: [PATCH linux-next v2] net/ipv4: return the real errno instead of -EINVAL

From: patchwork-bot+netdevbpf
Date: Tue Aug 08 2023 - 19:00:25 EST


Hello:

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

On Mon, 7 Aug 2023 01:54:08 +0000 you wrote:
> From: xu xin <xu.xin16@xxxxxxxxxx>
>
> For now, No matter what error pointer ip_neigh_for_gw() returns,
> ip_finish_output2() always return -EINVAL, which may mislead the upper
> users.
>
> For exemple, an application uses sendto to send an UDP packet, but when the
> neighbor table overflows, sendto() will get a value of -EINVAL, and it will
> cause users to waste a lot of time checking parameters for errors.
>
> [...]

Here is the summary with links:
- [linux-next,v2] net/ipv4: return the real errno instead of -EINVAL
https://git.kernel.org/netdev/net-next/c/c67180efc507

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