Re: [PATCH v2] net: unix: remove outdated BSD behavior comment in unix_release_sock()
From: patchwork-bot+netdevbpf
Date: Thu Oct 23 2025 - 20:30:27 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 21 Oct 2025 20:59:06 +0100 you wrote:
> Remove the long-standing comment in unix_release_sock() that described a
> behavioral difference between Linux and BSD regarding when ECONNRESET is
> sent to connected UNIX sockets upon closure.
>
> As confirmed by testing on macOS (similar to BSD behavior), ECONNRESET
> is only observed for SOCK_DGRAM sockets, not for SOCK_STREAM. Meanwhile,
> Linux already returns ECONNRESET in cases where a socket is closed with
> unread data or is not yet accept()ed. This means the previous comment no
> longer accurately describes current behavior and is misleading.
>
> [...]
Here is the summary with links:
- [v2] net: unix: remove outdated BSD behavior comment in unix_release_sock()
https://git.kernel.org/netdev/net-next/c/ec538867a376
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html