From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Toz0c5j5; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id 4C3995A0276 for ; Wed, 03 Dec 2025 07:34:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1764743642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EG0mzkc3A2yOFEeLAWs818gx0QPqFmZPo22HrYBFWeM=; b=Toz0c5j5jtgRjizdH3c4BDxNy3hL0MyQ813WeSu3kEWF/Ix47LRjpw/m61oseLBtg0oJQf XLQNmw6Te/xVMnzvUsxRcGbsVG+TAtEhj0vE+lewUKdceY3yVAWoJ7TZ4Xi3Qdt7K0Jsec 0XufK1Kwx+Z6k84LMCBW9nU09kRCq9U= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-126-yNE3wu6KMoOw_vZwqumEOw-1; Wed, 03 Dec 2025 01:34:00 -0500 X-MC-Unique: yNE3wu6KMoOw_vZwqumEOw-1 X-Mimecast-MFC-AGG-ID: yNE3wu6KMoOw_vZwqumEOw_1764743639 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-42b3ed2c3e3so4721440f8f.1 for ; Tue, 02 Dec 2025 22:34:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764743639; x=1765348439; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EG0mzkc3A2yOFEeLAWs818gx0QPqFmZPo22HrYBFWeM=; b=NXtTuw31Ed35XOYUCCWQpGfKKwwFQP4bUOXoIW7M3KIC5/LBBkgmtYZXMRS66zbL+z VB6uNCxo59qRukwJNK815xt6SChWMiw3I6WdsipXPBrZprortCJ/qpNSDMEJ2ytFNkci CQ2QzFkEYoB6G7wsb5vJsQs8RAk9mFyB5vDtYTZ9jktJ8GegGXBkTMyNCmxHjduGtkaN GfdO1MAc0sA5spMiO5U6y6P9ipH1Vw+hJIdxVklFBpdX66IAJPLiuLmNAAfYD68upcNJ FC+asv2r00zmFg4fFRTmf8GHnqRxHvt2HrzbyB6IpkLZrm1iIYp6WCJUFCB2sjbD8E8D dGKg== X-Gm-Message-State: AOJu0Yzm/NzkE/0HO63na/3z/BDrcvqhpymz0UpqQvKANUuV/HEppSS5 /Y6edEo44vP2Qrlq8Qsyzy6qv8ChaaoLqK+lhSOtRo0lfQ0SpjbE81d2E25+bGIMkVBCQEFxM3B P9sUEgXbOKVNfxq73lMiWZlBrGPP/DN9tct7bgbS/uCb7MqWMrp6Kqg== X-Gm-Gg: ASbGncuT7O5UGuS1wCJhrJB7iYFZ7mRpBjHnikToU3aRX43qoph2u8SbI8zLj9VQGYc 07Kcnz72G0nM9jCHvYcUL8ik4DNsm6Zs5p0ybRbMMuKRFvYddAzugfF3hytqMB3BkVGAureogKa Paa7I2pPtzsPqm9r9IADuu5/Q2Xiy4UQq1rXqrEpb5cHPzwD/QYcdtUdi07ghNP5uvZJRD3dKUT 8yq09J96LvpDk8U++1prnECX4Nz8zansXK8X5mPDf5J6f87j/OF41BxZ7cBDVb+UHz47j94Un2g 20MmOOJC66eVtDJWP64vwBEiUXncdHwrFqv+GaMFbAskYOYLUJCxiAigLhTor+juJcrCC757XlJ iJ1+z6J8voC2Q41P0S4rqn7DWZ5kCF2vt+0piGg== X-Received: by 2002:a05:6000:144c:b0:42b:3b62:cd9b with SMTP id ffacd0b85a97d-42f7319b198mr869309f8f.37.1764743639291; Tue, 02 Dec 2025 22:33:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFhXJ5JYUJ4ZZcZvhcsqgaBEGrOSEZQkVdYWkvSNn4xFWZX/QZyCVjODQbYv6lItuhalsX1vg== X-Received: by 2002:a05:6000:144c:b0:42b:3b62:cd9b with SMTP id ffacd0b85a97d-42f7319b198mr869283f8f.37.1764743638749; Tue, 02 Dec 2025 22:33:58 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42e1ca1a2easm38374368f8f.23.2025.12.02.22.33.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Dec 2025 22:33:58 -0800 (PST) Date: Wed, 3 Dec 2025 07:33:53 +0100 From: Stefano Brivio To: Yumei Huang Subject: Re: [PATCH v10 0/5] Retry SYNs for inbound connections Message-ID: <20251203073353.2157d51a@elisabeth> In-Reply-To: <20251202030007.23581-1-yuhuang@redhat.com> References: <20251202030007.23581-1-yuhuang@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: wFXRBtlApv1SVlPgHYyeG5E_jnxEDpDw4jnpPhIOprA_1764743639 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: WGBDOAHUKT54SZVYJXLCIY5IWBPNO7ZE X-Message-ID-Hash: WGBDOAHUKT54SZVYJXLCIY5IWBPNO7ZE X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top, david@gibson.dropbear.id.au X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Tue, 2 Dec 2025 11:00:02 +0800 Yumei Huang wrote: > When a client connects, SYN would be sent to guest only once. If the > guest is not connected or ready at that time, the connection will be > reset in 10s. These patches introduce the SYN retry mechanism using > the similar backoff timeout as linux kernel. Also update the data > retransmission timeout using the backoff timeout. > > v10: > - Update read_file() to check buf_size first > - Improve debug message in read_file_integer() > - Replace RTO_MAX_MS_DEFAULT with RTO_MAX_DEFAULT > - Wording fixes Applied, thanks for following up with this. -- Stefano