linux/tools/testing/selftests/net/mptcp
Matthieu Baerts (NGI0) 852b644acb selftests: mptcp: join: properly kill background tasks
The 'run_tests' function is executed in the background, but killing its
associated PID would not kill the children tasks running in the
background.

To properly kill all background tasks, 'kill -- -PID' could be used, but
this requires kill from procps-ng. Instead, all children tasks are
listed using 'ps', and 'kill' is called with all PIDs of this group.

Fixes: 31ee4ad86a ("selftests: mptcp: join: stop transfer when check is done (part 1)")
Cc: stable@vger.kernel.org
Fixes: 04b57c9e09 ("selftests: mptcp: join: stop transfer when check is done (part 2)")
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20251110-net-mptcp-sft-join-unstable-v1-6-a4332c714e10@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-11-11 17:49:49 -08:00
..
.gitignore selftests: mptcp: ignore mptcp_diag binary 2025-03-31 16:52:39 -07:00
config selftests: net: sort configs 2025-10-06 13:12:59 -07:00
diag.sh selftests: mptcp: shellcheck: support v0.11.0 2025-09-09 18:39:52 -07:00
Makefile selftests: net: unify the Makefile formats 2025-10-06 13:14:06 -07:00
mptcp_connect_checksum.sh selftests: mptcp: connect: also cover checksum 2025-07-21 16:21:30 -07:00
mptcp_connect_mmap.sh selftests: mptcp: connect: also cover alt modes 2025-07-21 16:21:30 -07:00
mptcp_connect_sendfile.sh selftests: mptcp: connect: also cover alt modes 2025-07-21 16:21:30 -07:00
mptcp_connect.c selftests: mptcp: connect: trunc: read all recv data 2025-11-11 17:49:49 -08:00
mptcp_connect.sh selftests: mptcp: connect: fix fallback note due to OoO 2025-11-11 17:49:47 -08:00
mptcp_diag.c selftests: mptcp: add helpers to get subflow_info 2025-05-05 16:52:00 -07:00
mptcp_inq.c selftests: mptcp: close server IPC descriptors 2025-09-15 18:14:23 -07:00
mptcp_join.sh selftests: mptcp: join: properly kill background tasks 2025-11-11 17:49:49 -08:00
mptcp_lib.sh selftests: mptcp: join: properly kill background tasks 2025-11-11 17:49:49 -08:00
mptcp_sockopt.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-18 11:26:06 -07:00
mptcp_sockopt.sh selftests: mptcp: shellcheck: support v0.11.0 2025-09-09 18:39:52 -07:00
pm_netlink.sh selftests: mptcp: shellcheck: support v0.11.0 2025-09-09 18:39:52 -07:00
pm_nl_ctl.c selftests: mptcp: join: validate new laminar endp 2025-09-29 18:23:36 -07:00
settings selftests: mptcp: increase timeout to 30 min 2024-02-01 09:06:37 -08:00
simult_flows.sh selftests: mptcp: shellcheck: support v0.11.0 2025-09-09 18:39:52 -07:00
userspace_pm.sh mptcp: pm: netlink: only add server-side attr when true 2025-09-22 11:51:24 -07:00