public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Retry SYNs for inbound connections
@ 2025-09-28  7:29 Yumei Huang
  2025-09-28  7:29 ` [PATCH 1/2] tcp: Rename "retrans" of struct tcp_tap_conn and tcp_tap_transfer Yumei Huang
  2025-09-28  7:29 ` [PATCH 2/2] tcp: Resend SYN for inbound connections Yumei Huang
  0 siblings, 2 replies; 9+ messages in thread
From: Yumei Huang @ 2025-09-28  7:29 UTC (permalink / raw)
  To: passt-dev, sbrivio; +Cc: david, yuhuang

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 similar
to retransmits.

Tested two scenarios:

1) A guest is connected in a few seconds, the client connects
to the guest successfully.

2) No guest connects at all, the client gets "Connection reset" in 80s.

Also ran the testsuits, no regression issue introduced.

Yumei Huang (2):
  tcp: Rename "retrans" of struct tcp_tap_conn and tcp_tap_transfer
  tcp: Resend SYN for inbound connections

 tcp.c      | 21 ++++++++++++++-------
 tcp_conn.h |  8 ++++----
 2 files changed, 18 insertions(+), 11 deletions(-)

-- 
2.47.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-09-30  6:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-28  7:29 [PATCH 0/2] Retry SYNs for inbound connections Yumei Huang
2025-09-28  7:29 ` [PATCH 1/2] tcp: Rename "retrans" of struct tcp_tap_conn and tcp_tap_transfer Yumei Huang
2025-09-29  6:06   ` David Gibson
2025-09-28  7:29 ` [PATCH 2/2] tcp: Resend SYN for inbound connections Yumei Huang
2025-09-29  6:25   ` David Gibson
2025-09-29 22:23     ` Stefano Brivio
2025-09-30  1:05       ` David Gibson
2025-09-30  6:04         ` Yumei Huang
2025-09-29 22:23   ` Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).