🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26266

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

#26266
From: Alexandra Winter
Date: Thu, 03 Dec 2026 10:02
28 lines
13707 bytes

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
Technical Details
Message-ID: <84aab20f-387a-4ec4-9f25-c7491dd45ca5@linux.ibm.com>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376468-linux-kernel-netdev=dewy.ru
References: <20261114-b4-disp-fc0634a3-v4-0-f96c506447ce@proton.me> <20261114-b4-disp-fc0634a3-v4-1-f96c506447ce@proton.me> <082654a9-aa48-40c0-b8e4-1495d0ac232c@linux.ibm.com> <20261203034116.338079-1-hexlabsecurity@proton.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376468-linux-kernel-netdev=dewy.ru
From: wintera@linux.ibm.com (Alexandra Winter)
Newsgroups: linux.kernel.netdev
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
Organization: Usenet Network
Message-ID: <84aab20f-387a-4ec4-9f25-c7491dd45ca5@linux.ibm.com>
References: <20261114-b4-disp-fc0634a3-v4-0-f96c506447ce@proton.me>
 <20261114-b4-disp-fc0634a3-v4-1-f96c506447ce@proton.me>
 <082654a9-aa48-40c0-b8e4-1495d0ac232c@linux.ibm.com>
 <20261203034116.338079-1-hexlabsecurity@proton.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="2454950"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ngomrUs9VrJgpWLOM0yaPBuEGyY= sha256:swKjlbOtLVrmrgx6ewIEOR+4CCcMTsCnBDPzXAvCHfg=
	sha1:FTutGhl79m5aBv3WJwfc1TldZ1o= sha256:+jRuaq1fMSB3cfxdppoq1I6sYZCQ5fon/ut5zlv/UIM=
Content-Language: en-US
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 323481178C0; Thu,  3 Dec 2026 13:03:01 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.951
X-Spam-Status: No, score=-2.951 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=ibm.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id sWiD1YOqJj6B;
	Thu,  3 Dec 2026 13:02:58 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-376468-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=linux.ibm.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id A333B1178BC; Thu,  3 Dec 2026 13:02:48 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id C84B52F22D; Thu,  3 Dec 2026 10:02:40 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796292159;
	b=XU7yx1KXg4DZIwxd1ueduLlBvHZTfLE5UAIBEZh9XfFROA2y/KZfZWHTcelJ/mvlWFW5
	 TIWkNbvLQHd/oRFAl9lmoCiRKI5UP4bi/zGLMuWNfGS7vA3qsGUtz1u8gowIckxwA4dc7
	 2+s+uFAZdGuE3JcF+6Rg6GUfq8Semw/XVM2jMvS92ZexahbBywxfiNj18BHPKogId2U34
	 8ABjr9VRmGRgEjjHHAhtUIPUu7ZSIK5QKTs5O5l1ejYZKcc4QWTPBpby+ai/5ZW5f/tDi
	 2AlnHtSLWUuDIG2F44va5lPdpWZ8RoJjA4G1SdDjIenHDFYo5FAbe2EecfehT7grubA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796292159;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Received:
	 Received:Received:Received:Received:Received:Received:Message-ID:Date:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:User-Agent:
	 Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding:X-TM-AS-GCONF:
	 X-Authority-Analysis:X-Proofpoint-GUID:X-Proofpoint-Spam-Info:
	 X-Proofpoint-Spam-Details-Enc:X-Proofpoint-ORIG-GUID:
	 X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details;
	bh=RVdeaMIoD7OvdaksKtIsOUZ1ySR5pdlNHzV6Nu6URS0=;
	b=OcMf4VLDp9KDQo+rO+GzTDZ08ol0NNODbLb3Olh0iGMG8mMS8qfqQaZNNC/2YefVdoSW
	 AJ4CgbegJ92742D0JC2tUswT3faqkIj/jFR9/uTUJvbK6vTdwvE/yqE+GN6l/eC1R1NQG
	 Ggy+PQPm6Dm3OzAS1jGa7ykluFN6VDTFZZtAIdPRR8+IlEBDr4e7XXUq7W1xreCHTIJxH
	 1+IwrEd4ViGroE/MgMrInaGbReHMH4OrGXq2l4O2J0bpe7yP9rhdpJN11ajiklA7fOamu
	 0yq6yKrX0cJ6I0XmZTMbPvDvJWfNYm4t/U7NuhRn8HiCswlBdP+/BioWYGR9sXA8jRQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=PKTR3ycH;
	dmarc=pass header.from=linux.ibm.com;
	spf=pass smtp.mailfrom=linux.ibm.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F079606A68B;
	Thu,  3 Dec 2026 10:02:39 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=PKTR3ycH
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=148.163.158.5
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796292158;
	b=1pJQqmBg5O8805I906R+422bcy9eDN3lSAtXU99EERaM0nz8880bPxXF8TMAKLAKB7xa
	 dpUEDZe99DwnsxZMGdqT5vv1T03h1qE6uqeyPLuM+TEQoXMV+X1z1Vgkeyunk7S51Xm8c
	 FqmHouqqf9U2yY5/dPEVzX2oXxmqKaqUPsLZd3DqSLs+LnXMiXS5g/CC6KqyyAN0ILzOq
	 v8gkjISsMVKk4SpILB51JPMgRy8ZUzfYcl0y967uvd/xRUmTYwqwMCRCVuxIDj2ANId50
	 arVL+o1d+MVoBSU7pBuPY4RLNsBdwrUtHwgA+Bl0ALSFhaE+BG4sa1XLGyvPyLqb+Yw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796292158;
	h=DMARC-Filter:Received:DKIM-Signature:Received:Received:Received:
	 Received:Received:Received:Received:Message-ID:Date:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding:X-TM-AS-GCONF:
	 X-Authority-Analysis:X-Proofpoint-GUID:X-Proofpoint-Spam-Info:
	 X-Proofpoint-Spam-Details-Enc:X-Proofpoint-ORIG-GUID:
	 X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details;
	bh=RVdeaMIoD7OvdaksKtIsOUZ1ySR5pdlNHzV6Nu6URS0=;
	b=yvW6h2GfX12sP2ELdF79OpWiK1u9fYouZ6s0TCd96AUG2huYChtblRrHZahPOn/UuKIb
	 5UNbpsF+o5E1wPvpEE1fEEFYQ3KXdt3OKL0ICvrW7S+sG7uWTL9QVhG6ahARfdTYQwvgq
	 +lmHoHBsaKXjqMl7K5PkGiv7DpTM19igScMXhL3zOnTtbqoShxAmmVwAietqKASTGkZ+w
	 1vwrn6wJcQRQe7cZ7THnq2JkTeGC27kKtiRv+hAq+HclCaBWQ6rcStILvdZsrlDjAl+D3
	 ujISmgDN8jUql1cWWXZAG3y/DYepqg81CEw44gVd/1Sr1eP58En9j5l4dfcUGdprpIw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=linux.ibm.com;
	spf=pass smtp.mailfrom=linux.ibm.com;
	dkim=pass header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=PKTR3ycH;
	arc=none smtp.remote-ip=148.163.158.5
X-Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 52561606A682;
	Thu,  3 Dec 2026 10:02:38 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 52561606A682
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com
X-Received: from pps.filterd (m0356516.ppops.net [127.0.0.1])
	by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B3751J02700097;
	Thu, 3 Dec 2026 10:02:25 GMT
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc
	:content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to; s=pp1; bh=RVdeaM
	IoD7OvdaksKtIsOUZ1ySR5pdlNHzV6Nu6URS0=; b=PKTR3ycHp2w+HLnQ9uPenf
	QuDsBxcniJWEgdUs4nxnBs8SrMy++Uv91pj5muk2NC70WDQmKbvEv51/T8KWgOVB
	TX+QH1ZQE7Aq/sviIbeljDZqgfdU8ve8DUCvaUqOJ/xWKRJPv11v2YYBLzIQOEl8
	nEeBhrMyJiX7ZZx1kER0XRaXSkvE48WrCL7aWvMlaaFqX9EYF0/RdGWsJpc7VcLX
	rqevlmFrCuPT67PXuKXK6WaCfXiwZYoNgfdTAywejQMc0IqGGOh8bHhJTEAxFzQ8
	349BYWq50dHB1qsrMi5glQao8dRAM0sNVSdh9j2FIEq25JhvG11jmyy2ghkL3z7A
	==
X-Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219])
	by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4jan7uvax6-1
	(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
	Thu, 03 Dec 2026 10:02:24 +0000 (GMT)
X-Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1])
	by ppma11.dal12v.mail.ibm.com (8.18.1.11/8.18.1.11) with ESMTP id 6B36nJ7Q172138;
	Thu, 3 Dec 2026 10:02:24 GMT
X-Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224])
	by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 4j9v5w8wut-1
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
	Thu, 03 Dec 2026 10:02:24 +0000 (GMT)
X-Received: from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com [10.20.54.102])
	by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 6B3A2KiG46727436
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
	Thu, 3 Dec 2026 10:02:20 GMT
X-Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1])
	by IMSVA (Postfix) with ESMTP id 2A81E20076;
	Thu,  3 Dec 2026 10:02:20 +0000 (GMT)
X-Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1])
	by IMSVA (Postfix) with ESMTP id EBB2720073;
	Thu,  3 Dec 2026 10:02:19 +0000 (GMT)
X-Received: from [9.68.18.21] (unknown [9.68.18.21])
	by smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTP;
	Thu,  3 Dec 2026 10:02:19 +0000 (GMT)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-User-Agent: Mozilla Thunderbird
X-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
X-In-Reply-To: <20261203034116.338079-1-hexlabsecurity@proton.me>
X-TM-AS-GCONF: 00
X-Authority-Analysis: v=2.4 cv=Vvy2kO2n c=1 sm=1 tr=0 ts=6b113e30 cx=c_pps
 a=aDMHemPKRhS1OARIsFnwRA==:117 a=aDMHemPKRhS1OARIsFnwRA==:17
 a=REPgES4Tcxp0NRTW:21 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10
 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=Y2IxJ9c9Rs8Kov3niI8_:22
 a=UhLAQW079vbOcDnQZx0A:9 a=QEXdDO2ut3YA:10
X-Proofpoint-GUID: vt4v5yU1-JH4bMYZ7vVgaBdt0jwhVQ6U
X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAzMDAzOCBTYWx0ZWRfX8SOCV+9oDT5B
 fejqmSpRxpezz6t8VpXQp5ZFoIXipaUVben1IQKYUCnj7GIYXrrKT8NWuZn4cavw+++ZLH43SmA
 yXa0GghNLM+WZrx3Fmn4XyHGxv8ksUM=
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAzMDAzOCBTYWx0ZWRfX6SpGxRGuiBl/
 Okql6dn0GWWUIF1MewH3MmhRUzEIE8E5yLN5WibMfXkOFuzC98+LjKjc88DfYkPI6RF80OBwmgL
 Ihk+YZkbsp6q4yLEK4NZ4JrLwGeP3hTvygK8t7n4B42HTxaipI25X5A/nK3lLRyW88ILfFhdC75
 2hNEHGm81GSlfUBaw98LX3/hGJ0iEykysxZbZoS4fyxSYkIL00wXyQsO0I2aoEi8JCW98YzrKnO
 Eay3bFlZ4+wbkvUw6VkrClufhIVxEcny+FKaksMNIHCKoRVLqiX9N2Lukvrk8xWXSErcut9s0kj
 3mgxCqxWl5yAwAvy1iB53e9Yv48V1fjETuKyFPsSfOjrc7hyMkZYnfH6bsK5Kogm9u7jn1ju8pg
 vivAekOn1J2JRVIORoiF3y71+XARsO8OA2Uv81HeBim4NNre/2RWKWMElDMiss83LqwLiblsPmI
 FhTBAwwZy3XlSvMWj7w==
X-Proofpoint-ORIG-GUID: vt4v5yU1-JH4bMYZ7vVgaBdt0jwhVQ6U
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49
 definitions=2026-12-03_02,2026-12-02_07,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
 bulkscore=0 adultscore=0 priorityscore=1501 spamscore=0 impostorscore=0
 phishscore=0 clxscore=1015 lowpriorityscore=0 suspectscore=0 malwarescore=0
 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0
 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612030038