From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=148.163.158.5 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== 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== 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 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) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 52561606A682 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com 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 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 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 == 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) 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 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) 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 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) 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) 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) Message-ID: <84aab20f-387a-4ec4-9f25-c7491dd45ca5@linux.ibm.com> Date: Thu, 3 Dec 2026 11:02:19 +0100 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC net v4 1/8] net/iucv: keep the window given to the peer in a field of its own To: Bryam Vargas Cc: Jakub Kicinski , Paolo Abeni , "David S . Miller" , Hidayath Khan , Eric Dumazet , Thorsten Winkler , Simon Horman , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Nagamani PV , linux-s390@vger.kernel.org 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> Content-Language: en-US From: Alexandra Winter In-Reply-To: <20261203034116.338079-1-hexlabsecurity@proton.me> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 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