[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166903621671.4573.8029560604179811568.git-patchwork-notify@kernel.org>
Date: Mon, 21 Nov 2022 13:10:16 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, dsahern@...nel.org, yoshfuji@...ux-ipv6.org,
cpaasch@...le.com, fw@...len.de, peter.krystad@...ux.intel.com,
kuni1840@...il.com, netdev@...r.kernel.org, mptcp@...ts.linux.dev
Subject: Re: [PATCH v2 net-next] net: Return errno in sk->sk_prot->get_port().
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@...emloft.net>:
On Fri, 18 Nov 2022 10:25:06 -0800 you wrote:
> We assume the correct errno is -EADDRINUSE when sk->sk_prot->get_port()
> fails, so some ->get_port() functions return just 1 on failure and the
> callers return -EADDRINUSE instead.
>
> However, mptcp_get_port() can return -EINVAL. Let's not ignore the error.
>
> Note the only exception is inet_autobind(), all of whose callers return
> -EAGAIN instead.
>
> [...]
Here is the summary with links:
- [v2,net-next] net: Return errno in sk->sk_prot->get_port().
https://git.kernel.org/netdev/net-next/c/7a7160edf1bf
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists