Hello:
This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <will…@google.com>:
On Sun, 22 Nov 2026 15:48:44 +0000 you wrote:
> NetNS records its name before running ip netns add. If creation fails
> because that name already exists, destruction of the partially built
> object deletes the pre-existing handle that it never acquired.
>
> Initialize the owned name to None and record it only after creation
> succeeds. Successful creation and context cleanup keep their behavior.
>
> [...]
Here is the summary with links:
- [net-next] selftests: net: py: preserve existing namespaces on creation failure
https://git.kernel.org/netdev/net-next/c/4d93feebb538
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html