Matthieu Baerts (NGI0) matttbe@kernel.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@strlen.de