OSDN Git Service

Merge branch 'selftests-pmtu-sh-fix-cleanup-of-processes-launched-in-subshell'
authorJakub Kicinski <kuba@kernel.org>
Thu, 10 Mar 2022 04:23:37 +0000 (20:23 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Mar 2022 04:23:38 +0000 (20:23 -0800)
commit5f147476057832b8f87461ff6da35b5d2e1c2c29
tree7b851b74e05a66adbadc2e0426975a5e0f1a0e61
parentf80cfe2f26581f188429c12bd937eb905ad3ac7b
parent94a4a4fe4c696413932eed8bdec46574de9576b8
Merge branch 'selftests-pmtu-sh-fix-cleanup-of-processes-launched-in-subshell'

Guillaume Nault says:

====================
selftests: pmtu.sh: Fix cleanup of processes launched in subshell.

Depending on the options used, pmtu.sh may launch tcpdump and nettest
processes in the background. However it fails to clean them up after
the tests complete.

Patch 1 allows the cleanup() function to read the list of PIDs launched
by the tests.
Patch 2 fixes the way the nettest PIDs are retrieved.
====================

Link: https://lore.kernel.org/r/cover.1646776561.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>