From: Stefano Brivio <sbrivio@redhat.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: passt-dev@passt.top
Subject: Re: [PATCH v2 0/4] Reworks and improvements to TCP activity timers
Date: Wed, 25 Feb 2026 07:15:45 +0100 (CET) [thread overview]
Message-ID: <20260225071544.2c4b6de5@elisabeth> (raw)
In-Reply-To: <20260206061739.33648-1-david@gibson.dropbear.id.au>
On Fri, 6 Feb 2026 17:17:35 +1100
David Gibson <david@gibson.dropbear.id.au> wrote:
> Here's a bunch of patches aimed at fixing bug 179, and reworking the
> currently broken inactivity timer along the way.
>
> I believe patches 1..2/4 are ready to go - I've tested them, and I'm
> happy with how they're behaving. Patches 3..4/4 I think are correct,
> but I've been getting bogged down in details trying to test them in
> the specific FIN_WAIT_2 situation that occurs in bug 179.
I just tested things manually by cycling guest interfaces and checking
that keepalives come and eventually cause connection resets, as well as
that the activity timeout (shortened via define) triggers after the
expected time.
It's not great but I couldn't figure out a way to simulate the issue
with a single namespace test (without any connecting interface that can
be brought down), and simulating this with multiple namespaces
connected via veth looks doable, but not easy to integrate with the
existing tests.
Meanwhile the reporter of https://bugs.passt.top/show_bug.cgi?id=179
confirms this series solves the issue, and delaying this further
doesn't sound like a good idea, so I went ahead and finally applied
this, fixing a trivial conflict with 812cdb802c6e ("tcp: Move tap
header update out of tcp_fill_headers()") on the way.
--
Stefano
prev parent reply other threads:[~2026-02-25 6:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-06 6:17 David Gibson
2026-02-06 6:17 ` [PATCH v2 1/4] tcp: Remove non-working activity timeout mechanism David Gibson
2026-02-06 6:17 ` [PATCH v2 2/4] tcp: Re-introduce inactivity timeouts based on a clock algorithm David Gibson
2026-02-25 6:15 ` Stefano Brivio
2026-02-06 6:17 ` [PATCH v2 3/4] tcp: Extend tcp_send_flag() to send TCP keepalive segments David Gibson
2026-02-06 6:17 ` [PATCH v2 4/4] tcp: Send TCP keepalive segments after a period of tap-side inactivity David Gibson
2026-02-25 6:15 ` Stefano Brivio [this message]
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=20260225071544.2c4b6de5@elisabeth \
--to=sbrivio@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=passt-dev@passt.top \
/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).