Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <will…@google.com>:
On Wed, 25 Nov 2026 22:49:00 +0900 you wrote:
> Since commit 29b99f54a8e6 ("sctp: destroy bucket if failed to bind
> addr"), sctp_do_bind() releases the port when sctp_add_bind_addr()
> fails. sctp_bindx_add() also calls it for each extra address of a
> socket that is already bound, and possibly listening. There
> sctp_get_port_local() takes no new reference, but the failure path
> still calls sctp_put_port(), which unhashes the port and clears
> bind_hash and inet_num while the socket keeps its other addresses and
> stays listening. listen(0) then writes through the NULL bind_hash, and
> accept() of a pending association oopses in sctp_clone_sock():
>
> [...]
Here is the summary with links:
- [net] sctp: keep the port of a bound socket when adding an address fails
https://git.kernel.org/netdev/net/c/a0c304e6db0f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html