[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240813140739.GA4937@breakpoint.cc>
Date: Tue, 13 Aug 2024 16:07:39 +0200
From: Florian Westphal <fw@...len.de>
To: "Matthieu Baerts (NGI0)" <matttbe@...nel.org>
Cc: mptcp@...ts.linux.dev, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Shuah Khan <shuah@...nel.org>, Hangbin Liu <liuhangbin@...il.com>,
Petr Machata <petrm@...dia.com>, netdev@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
Mat Martineau <martineau@...nel.org>
Subject: Re: [PATCH net] selftests: net: lib: kill PIDs before del netns
Matthieu Baerts (NGI0) <matttbe@...nel.org> wrote:
> When deleting netns, it is possible to still have some tasks running,
> e.g. background tasks like tcpdump running in the background, not
> stopped because the test has been interrupted.
>
> Before deleting the netns, it is then safer to kill all attached PIDs,
> if any. That should reduce some noises after the end of some tests, and
> help with the debugging of some issues. That's why this modification is
> seen as a "fix".
Thanks, this makes sense to me.
Acked-by: Florian Westphal <fw@...len.de>
Powered by blists - more mailing lists