From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by passt.top (Postfix, from userid 1000) id 8C7265A0275; Thu, 02 Oct 2025 02:06:46 +0200 (CEST) From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 0/4] tcp: Fix bad switch to CLOSE-WAIT state and surrounding issues Date: Thu, 2 Oct 2025 02:06:42 +0200 Message-ID: <20251002000646.2136202-1-sbrivio@redhat.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID-Hash: HQXYR2RN6P2FZXAJLEEJHLGCBDPSZ6R3 X-Message-ID-Hash: HQXYR2RN6P2FZXAJLEEJHLGCBDPSZ6R3 X-MailFrom: sbrivio@passt.top 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 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: The most important fix here is 3/4, the other ones are either fixes for issues that weren't actually observed in practice, but I mistook them as the case fixed by 3/4, or for minor details. Stefano Brivio (4): tcp: Fix ACK sequence on FIN to tap tcp: Completely ignore data segment in CLOSE-WAIT state, log a message tcp: Don't consider FIN flags with mismatching sequence tcp: On partial send (incomplete sendmsg()), request a retransmission right away tcp.c | 12 +++++++++--- tcp_buf.c | 14 +++++++++++++- tcp_vu.c | 7 ++++++- 3 files changed, 28 insertions(+), 5 deletions(-) -- 2.43.0