public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Yohei Kojima <yk@y-koj.net>
To: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>, Shuah Khan <shuah@kernel.org>
Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org, Yohei Kojima <yk@y-koj.net>
Subject: [PATCH net-next 0/2] selftests: net: improve error handling in passive TFO test
Date: Mon, 12 Jan 2026 17:51:42 +0900	[thread overview]
Message-ID: <cover.1768207347.git.yk@y-koj.net> (raw)

This series improves error handling in the passive TFO test by (1)
fixing a broken behavior when the child processes failed (or timed out),
and (2) adding more error handlng code in the test program.

The first patch fixes the behavior that the test didn't report failure
even if the server or the client process exited with non-zero status.
The second patch adds error handling code in the test program to improve
reliability of the test.

This series was split out from the following series to address the
feedback from Andrew Lunn:
https://lore.kernel.org/netdev/cover.1767032397.git.yk@y-koj.net/

Yohei Kojima (2):
  selftests: net: fix passive TFO test to fail if child processes failed
  selftests: net: improve error handling in passive TFO test

 tools/testing/selftests/net/tfo.c          | 10 +++++++---
 tools/testing/selftests/net/tfo_passive.sh | 13 ++++++++++++-
 2 files changed, 19 insertions(+), 4 deletions(-)

-- 
2.52.0


             reply	other threads:[~2026-01-12  8:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-12  8:51 Yohei Kojima [this message]
2026-01-12  8:51 ` [PATCH net-next 1/2] selftests: net: fix passive TFO test to fail if child processes failed Yohei Kojima
2026-01-12  8:51 ` [PATCH net-next 2/2] selftests: net: improve error handling in passive TFO test Yohei Kojima
2026-01-12 19:55   ` Markus Elfring
2026-01-13  1:46     ` Yohei Kojima
2026-01-13  9:46   ` Markus Elfring
2026-01-13 14:22     ` Yohei Kojima

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=cover.1768207347.git.yk@y-koj.net \
    --to=yk@y-koj.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=shuah@kernel.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox