]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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)
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>

Trivial merge