All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Dominik Maier <dmnk@google.com>
Cc: edumazet@kernel.org, ncardwell@google.com, kuniyu@google.com,
	kuba@kernel.org, joannelkoong@gmail.com, netdev@vger.kernel.org,
	dmnk+artist@google.com
Subject: Re: [PATCH net v2] inet: release newly acquired port on inet_csk_listen_start() hash error
Date: Wed, 02 Dec 2026 12:50:04 +0000	[thread overview]
Message-ID: <179621580475.1437261.6794972796310945363.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261124180600.71138-1-dmnk@google.com>

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Tue, 24 Nov 2026 18:06:00 +0000 you wrote:
> When inet_csk_listen_start() is called on a socket that has not been
> explicitly bound, sk->sk_prot->get_port() allocates an ephemeral port
> and links the socket into bhash and bhash2 without setting
> SOCK_BINDPORT_LOCK. If sk->sk_prot->hash() then fails (for example, when
> a prior failed connect() left icsk->unhashed_state set to TCP_SYN_SENT
> so inet_hash() returns -EINVAL), inet_csk_listen_start() resets sk_state
> to TCP_CLOSE and returns the error without releasing the newly acquired
> port.
> 
> [...]

Here is the summary with links:
  - [net,v2] inet: release newly acquired port on inet_csk_listen_start() hash error
    https://git.kernel.org/netdev/net/c/7c13d5d5afb4

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



      parent reply	other threads:[~2026-12-02 12:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 18:06 [PATCH net v2] inet: release newly acquired port on inet_csk_listen_start() hash error Dominik Maier
2026-11-26  1:33 ` Jiayuan Chen
2026-11-30  0:36 ` Kuniyuki Iwashima
2026-12-02 12:50 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179621580475.1437261.6794972796310945363.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=dmnk+artist@google.com \
    --cc=dmnk@google.com \
    --cc=edumazet@kernel.org \
    --cc=joannelkoong@gmail.com \
    --cc=kuba@kernel.org \
    --cc=kuniyu@google.com \
    --cc=ncardwell@google.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.