All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mptcp-next] selftests: mptcp: join: capture on client side for test 020
@ 2026-09-14 17:48 Matthieu Baerts (NGI0)
  2026-09-14 18:00 ` sashiko-bot
  2026-09-14 19:03 ` MPTCP CI
  0 siblings, 2 replies; 3+ messages in thread
From: Matthieu Baerts (NGI0) @ 2026-09-14 17:48 UTC (permalink / raw)
  To: MPTCP Linux; +Cc: Matthieu Baerts (NGI0)

The test "signal address, TCP-only listener on client" is a bit
particular: a TCP-only listening socket is created on the client side,
and the kernel will try to connect to this local IP.

To be able to understand what's going on in case of issues, it is
helpful to have a capture on the client side as well for this particular
test. This avoids some confusions.

Note that the 2nd tcpdump process will have its standard output
redirected to the same file after having truncated it. That's fine for
this test, this output file is not very important, no need to have an
exception there.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
 tools/testing/selftests/net/mptcp/mptcp_join.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/testing/selftests/net/mptcp/mptcp_join.sh b/tools/testing/selftests/net/mptcp/mptcp_join.sh
index b16e24418e73..690188b01a29 100755
--- a/tools/testing/selftests/net/mptcp/mptcp_join.sh
+++ b/tools/testing/selftests/net/mptcp/mptcp_join.sh
@@ -2413,7 +2413,10 @@ signal_address_tests()
 		extra_bind=$!
 		mptcp_lib_wait_local_port_listen "$ns2" "$port"
 
+		# there will be traffic on the client side only: MPJ to loopback
+		cond_start_capture ${ns2}
 		run_tests $ns1 $ns2 10.0.1.1
+		cond_stop_capture
 		join_synack_no_mpjoin=1 join_syn_tx=1 \
 			chk_join_nr 0 0 0
 

---
base-commit: 060af37701a3aca2c02cb5e874d740be6acbf1a2
change-id: 20260914-mptcp-sft-join-cap-ns2-a6ba4960ea23

Best regards,
--  
Matthieu Baerts (NGI0) <matttbe@kernel.org>


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

end of thread, other threads:[~2026-09-14 19:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-14 17:48 [PATCH mptcp-next] selftests: mptcp: join: capture on client side for test 020 Matthieu Baerts (NGI0)
2026-09-14 18:00 ` sashiko-bot
2026-09-14 19:03 ` MPTCP CI

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.