Re: [PATCH RFC net v4 1/8] net/iucv: keep the window given to the peer in a field of its own

From: Alexandra Winter

Date: Thu Dec 03 2026 - 05:02:43 EST




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