public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v2 0/3] Fix errors in FIN timeout logic
@ 2026-01-30  4:41 David Gibson
  2026-01-30  4:41 ` [PATCH v2 1/3] tcp: Retransmit FINs like data segments David Gibson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Gibson @ 2026-01-30  4:41 UTC (permalink / raw)
  To: passt-dev, Stefano Brivio; +Cc: David Gibson

While investigating bug 179, I found a number of things that confused
me about the TCP timer handling.  One of them, I think I figured out
what's going on and what should be done about it.  So, here are the
changes.  This is mostly about FIN handling and only tangentially
about the timer, but it does at least slightly simplify the timer
handling while I figure out the rest of it.

Changes in v2:
 * Stefano pointed out some errors in my guesses at the history of
   things, evised commit message of 2/3 accordingly
 * Added 3/3 checking for shutdown(2) failures

David Gibson (3):
  tcp: Retransmit FINs like data segments
  tcp: Eliminate FIN_TIMEOUT
  tcp, tcp_splice: Check for failures of shutdown(2)

 tcp.c        | 49 ++++++++++++++++++++++++-------------------------
 tcp_buf.c    |  1 +
 tcp_splice.c |  3 ++-
 tcp_vu.c     |  1 +
 4 files changed, 28 insertions(+), 26 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2026-01-30  4:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-30  4:41 [PATCH v2 0/3] Fix errors in FIN timeout logic David Gibson
2026-01-30  4:41 ` [PATCH v2 1/3] tcp: Retransmit FINs like data segments David Gibson
2026-01-30  4:41 ` [PATCH v2 2/3] tcp: Eliminate FIN_TIMEOUT David Gibson
2026-01-30  4:41 ` [PATCH v2 3/3] tcp, tcp_splice: Check for failures of shutdown(2) David Gibson

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).