Re: [PATCH bpf-next] selftests/bpf: ensure proper root namespace cleanup when test fail
From: patchwork-bot+netdevbpf
Date: Mon Dec 02 2024 - 14:10:26 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:
On Thu, 28 Nov 2024 15:38:43 +0100 you wrote:
> serial_test_flow_dissector_namespace manipulates both the root net
> namespace and a dedicated non-root net namespace. If for some reason a
> program attach on root namespace succeeds while it was expected to
> fail, the unexpected program will remain attached to the root namespace,
> possibly affecting other runs or even other tests in the same run.
>
> Fix undesired test failure side effect by explicitly detaching programs
> on failing tests expecting attach to fail. As a side effect of this
> change, do not test errno value if the tested operation do not fail.
>
> [...]
Here is the summary with links:
- [bpf-next] selftests/bpf: ensure proper root namespace cleanup when test fail
https://git.kernel.org/bpf/bpf-next/c/c721d8f8b196
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html