Netdev List
 help / color / mirror / Atom feed
From: Alexandra Winter <wintera@linux.ibm.com>
To: Bryam Vargas <hexlabsecurity@proton.me>
Cc: Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	"David S . Miller" <davem@davemloft.net>,
	Hidayath Khan <hidayath@linux.ibm.com>,
	Eric Dumazet <edumazet@kernel.org>,
	Thorsten Winkler <twinkler@linux.ibm.com>,
	Simon Horman <horms@kernel.org>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	Nagamani PV <nagamani@linux.ibm.com>,
	linux-s390@vger.kernel.org
Subject: Re: [PATCH RFC net v4 1/8] net/iucv: keep the window given to the peer in a field of its own
Date: Thu, 3 Dec 2026 11:02:19 +0100	[thread overview]
Message-ID: <84aab20f-387a-4ec4-9f25-c7491dd45ca5@linux.ibm.com> (raw)
In-Reply-To: <20261203034116.338079-1-hexlabsecurity@proton.me>



On 03.12.26 04:41, Bryam Vargas wrote:
>> See above. Recording first_syn_sent and then refusing further
>> SO_MSGLIMIT and further connects, would make this patch uneccessary and
>> would not be more complex than this, would it?
> "Further connects" is the part I'd like your call on before I post v5.
> 
> Not sending a second SYN is clearly right: the listener cannot tell
> it from the first and makes a second child. A second connect() before
> the reply comes in gives two children on net and one with the flag.
> The open question is what that second connect() returns. I ran it
> both ways.
> 
[...]
> So: refuse or wait? I'd take waiting, as in the draft, but it's your
> call. And is the lost retry fine for the users you know of? If
> something else was behind refusing further connects, I'd like to hear
> it, so the patch does what you had in mind.

I agree waiting is the preferable behaviour.
This code has been around since 2011, I don't know whether or how users
do retries on connect().
There was nothing more behind my wording 'refusing .. further connects'
than not sending another SYN, I hadn't thought about the details.

Thx

  reply	other threads:[~2026-12-03 10:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-15  1:29 [PATCH RFC net v4 0/8] net/iucv: serialize the HiperSockets receive path with the socket lock Bryam Vargas via B4 Relay
2026-11-15  1:29 ` [PATCH RFC net v4 1/8] net/iucv: keep the window given to the peer in a field of its own Bryam Vargas via B4 Relay
2026-12-01 17:13   ` Alexandra Winter
2026-12-03  3:41     ` Bryam Vargas
2026-12-03 10:02       ` Alexandra Winter [this message]
2026-11-15  1:29 ` [PATCH RFC net v4 2/8] net/iucv: do not clear SEND_SHUTDOWN to send a control frame Bryam Vargas via B4 Relay
2026-11-15  1:29 ` [PATCH RFC net v4 3/8] net/iucv: fail sendmsg() with EPIPE once sending is shut down Bryam Vargas via B4 Relay
2026-11-15  1:29 ` [PATCH RFC net v4 4/8] net/iucv: run recvmsg() under the socket lock Bryam Vargas via B4 Relay
2026-11-15  1:29 ` [PATCH RFC net v4 5/8] net/iucv: factor out the HiperSockets frame dispatch and state changes Bryam Vargas via B4 Relay
2026-11-15  1:29 ` [PATCH RFC net v4 6/8] net/iucv: serialize HiperSockets receive with the socket lock Bryam Vargas via B4 Relay
2026-11-15  1:29 ` [PATCH RFC net v4 7/8] net/iucv: set RCV_SHUTDOWN under the socket spinlock Bryam Vargas via B4 Relay
2026-11-15  1:29 ` [PATCH RFC net v4 8/8] net/iucv: return EOF to a reader parked when the peer closes Bryam Vargas via B4 Relay
2026-11-30  8:34 ` [PATCH RFC net v4 0/8] net/iucv: serialize the HiperSockets receive path with the socket lock Hidayath Khan
2026-11-30 15:44   ` Hidayath Khan
2026-12-01  5:45     ` Hidayath Khan

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=84aab20f-387a-4ec4-9f25-c7491dd45ca5@linux.ibm.com \
    --to=wintera@linux.ibm.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=hexlabsecurity@proton.me \
    --cc=hidayath@linux.ibm.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=nagamani@linux.ibm.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=twinkler@linux.ibm.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox