Re: [PATCH net] net/smc: sync err code when tcp connection was refused

From: patchwork-bot+netdevbpf
Date: Mon Apr 25 2022 - 06:20:41 EST


Hello:

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

On Thu, 21 Apr 2022 17:40:27 +0800 you wrote:
> From: liuyacan <liuyacan@xxxxxxxxxxxxxxxx>
>
> In the current implementation, when TCP initiates a connection
> to an unavailable [ip,port], ECONNREFUSED will be stored in the
> TCP socket, but SMC will not. However, some apps (like curl) use
> getsockopt(,,SO_ERROR,,) to get the error information, which makes
> them miss the error message and behave strangely.
>
> [...]

Here is the summary with links:
- [net] net/smc: sync err code when tcp connection was refused
https://git.kernel.org/netdev/net/c/4e2e65e2e56c

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