diff options
| author | 2025-11-14 19:12:11 +0100 | |
|---|---|---|
| committer | 2025-11-17 19:27:47 -0800 | |
| commit | 39348f5f2f13c2da122b5049952066c2e802d3a0 (patch) | |
| tree | 980b03d0d9ba2ac2be20d55410a515c5e9921aa1 /drivers/net/ibm_emac/ibm_emac_debug.c | |
| parent | selftests: mptcp: connect: avoid double packet traces (diff) | |
| download | wireguard-linux-39348f5f2f13c2da122b5049952066c2e802d3a0.tar.xz wireguard-linux-39348f5f2f13c2da122b5049952066c2e802d3a0.zip | |
selftests: mptcp: wait for port instead of sleep
After having started mptcp_connect in listening mode,
'mptcp_lib_wait_local_port_listen' can be used to wait for the listening
socket to be ready.
This is better than using the 'sleep' command, not to pause for a fixed
amount of time, but waiting for an event. This helper is used in all
other MPTCP selftests, but not in these two.
Reviewed-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20251114-net-next-mptcp-sft-count-cache-stats-timeout-v1-7-863cb04e1b7b@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_debug.c')
0 files changed, 0 insertions, 0 deletions
