public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: passt-dev@passt.top, Stefano Brivio <sbrivio@redhat.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Subject: [PATCH 0/3] Fix bugs with RST propagation
Date: Tue, 27 Jan 2026 19:39:50 +1100	[thread overview]
Message-ID: <20260127083953.824556-1-david@gibson.dropbear.id.au> (raw)

In various circumstances we may not properly report abrupt ends to a
TCP connection to peers with an RST.  Fix them.

Link: https://bugs.passt.top/show_bug.cgi?id=191
Link: https://bugs.passt.top/show_bug.cgi?id=193

David Gibson (3):
  doc: Add test program verifying socket RST behaviour
  tcp: Properly propagate tap-side RST to socket side
  tcp_splice: Force TCP RST on abnormal close conditions

 doc/platform-requirements/.gitignore      |   1 +
 doc/platform-requirements/Makefile        |   8 +-
 doc/platform-requirements/tcp-close-rst.c | 204 ++++++++++++++++++++++
 tcp.c                                     |  37 +++-
 tcp_splice.c                              |  58 ++++--
 5 files changed, 290 insertions(+), 18 deletions(-)
 create mode 100644 doc/platform-requirements/tcp-close-rst.c

-- 
2.52.0


             reply	other threads:[~2026-01-27  8:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-27  8:39 David Gibson [this message]
2026-01-27  8:39 ` [PATCH 1/3] doc: Add test program verifying socket RST behaviour David Gibson
2026-01-27  8:39 ` [PATCH 2/3] tcp: Properly propagate tap-side RST to socket side David Gibson
2026-01-27 11:32   ` Stefano Brivio
2026-01-27  8:39 ` [PATCH 3/3] tcp_splice: Force TCP RST on abnormal close conditions David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260127083953.824556-1-david@gibson.dropbear.id.au \
    --to=david@gibson.dropbear.id.au \
    --cc=passt-dev@passt.top \
    --cc=sbrivio@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).