aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorMatthieu Baerts (NGI0) <[email protected]>2025-11-10 18:23:45 +0000
committerJakub Kicinski <[email protected]>2025-11-12 01:49:49 +0000
commit852b644acbce1529307a4bb283752c4e77b5cda7 (patch)
treede632e6a4862391d67910abe3fb771d9d64a79b1 /lib/mpi/mpi-mod.c
parentselftests: mptcp: connect: trunc: read all recv data (diff)
downloadkernel-852b644acbce1529307a4bb283752c4e77b5cda7.tar.gz
kernel-852b644acbce1529307a4bb283752c4e77b5cda7.zip
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: 31ee4ad86afd ("selftests: mptcp: join: stop transfer when check is done (part 1)") Cc: [email protected] Fixes: 04b57c9e096a ("selftests: mptcp: join: stop transfer when check is done (part 2)") Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Link: https://patch.msgid.link/20251110-net-mptcp-sft-join-unstable-v1-6-a4332c714e10@kernel.org Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions