Article View: linux.kernel.netdev
Article #24931Re: [PATCH net-next] selftests: net: py: preserve existing namespaces on creation failure
From: patchwork-bot+netdevbpf
Date: Tue, 01 Dec 2026 03:00
Date: Tue, 01 Dec 2026 03:00
24 lines
8676 bytes
8676 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@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
Technical Details
Message-ID:
<179609401574.4152033.3621586004100834773.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374654-linux-kernel-netdev=dewy.ruReferences:
<20261122154845.1272203-1-xujingjing@cmss.chinamobile.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374654-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next] selftests: net: py: preserve existing namespaces on creation failure Date: Tue, 01 Dec 2026 03:00:15 +0000 Organization: Usenet Network Message-ID: <179609401574.4152033.3621586004100834773.git-patchwork-notify@kernel.org> References: <20261122154845.1272203-1-xujingjing@cmss.chinamobile.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1597494"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:vSjxy7DrzleH0Xfr0pwx9rNyHV4= sha256:M7ehzpSmILXxUs5AjqL+v/jTY8PZ+VhJPu9tT5A+rMU= sha1:KOy14uVnhjNryAnjRyz46Vf9/fo= sha256:81WD5hNx2CwxnGkTOgLHDCzZjRGntNio1DvDmIf+h8w= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id E26B4117211; Tue, 1 Dec 2026 06:01:01 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r871Qv0OepXE; Tue, 1 Dec 2026 06:00:58 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-374654-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 6FA5A117210; Tue, 1 Dec 2026 06:00:50 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id AF0E02DBE4; Tue, 1 Dec 2026 03:00:26 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796094023; b=hLSyKZ7L2EqH8Iaz7G8mmt1HFIh1fFKwr+gWytIB1OQvR6QoG/FgLv/N00Q2OLbKXIse xMIerInIh4p90TLBj98ZtA3hGsMaj59nK6IywWgOgWtTNoJoO1q13yebO1H1CqIwB+eb6 r6bw1HHzS6KX7CFl83a88FJssZgipHuXN5nATGCqxQxXtNNFTJiYt2OQOgzFg+IsgrFUj f/TXLZuXCHa14VLb7TpO0Bdy32DiquvZnRmX2U9qGuqv7Fyt+Y+CTWOdGI2CH5DQqmKSt e16Dc+RePSkaZD18tlukvziXIbu70RNVZwf4E52rwz28ME8yZ0jhdFJ6pph1F5d3laQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796094023; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=KaSLIcBKEoftCwzLROheVbgx7T3Uv/wpT8FOCm7UE8E=; b=Ana0iS6C2m/RShEtaxWoia1vSgMfam7BPvJupshdnTP4eUuYexTu7dvwxJ0zeomgYJj6 SRWQQdaW+vufvpgm3ASQ5BXVXh3jFh+A/JO8is9tnbKs3Rz9rx0pXcAwJQts4lq9kdNK6 UDmmSpF7JxO2WiW/qDgBWPkZdb7Ru5if2OT1+e3A3iM7uXNqqG/N/tyyMYw+QzJFQytGW RxTFoE1n1DDO5Y4SqahFKm5nM7tYhNDHxdBa5o1tmIPRneTcn4dzeGO3rdGKPyZ9NUnEP 3z2bx9CC1X1wXV/SKMgv+1HFpSWHAzFuGIoSajTd4FU+8/TbL5vl6NTlr9v73nsrCBQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="Pkg+/cDi"; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4938C606A6B2; Tue, 1 Dec 2026 03:00:23 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Pkg+/cDi X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796094017; b=S+2bVItm4xSoOJArwg6KsL8IQVNvlVy/iH/TU6ofLQ5i9ZsRZoqFJxvOgYv17QrzaxLB 07bQ4LlImTW5c5aj4tgt/aCgzGtgUZYSPDuMKIVLBvJLb2Wrsngh1HScwGV8GfMpugpGx IHHYLF9irBdIrVuqwXzzkZNaDfw5XoYHBGm4ONhhStDKopbrp9AdjndGurJ7iPZPmLlV/ IPz3fB7YHIBNDIcPijxzGxNQqk0PjMG6z54DEE0+kXD/8NposE5qn/m/lT9MhyMCDO2qU IeU4+hQXC+PatMaq7OJsFzTv/5K6rmWk3pE6zgc+cgvtkKECfbfCMw3inLfHpqO+ibA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796094017; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=KaSLIcBKEoftCwzLROheVbgx7T3Uv/wpT8FOCm7UE8E=; b=zs4UDrBdEepuVkifeJdW1kxbbi+uuSpE9S5z0ynKDfB50LKciLqJ8SFRTImE7AzzY3jk GY01xFlY0UqY+wrhEEka3W9zbojf/8FvfA79OoYXLNDEKBwg+XgE/o//4MVs2gBNpoqrr w5pt3TtMj/SoGuAW0W9y76j/26alF3nT0BoCFbgw+MECHRY/o3tpOR4Npi6vGQslae/Md XvyvAhNFzeHHtVupwaLPGmqJbfnzX9BHyzfKDCDAteFQJiqWjEoxn/WleE5KHSssb3nCD xNLdMK/eClPVxtBIoFEz3/mz7mcnZwDrxG9uIe1qEXPBVoiYKIZeHJMxLh4WGOzasNA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="Pkg+/cDi"; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 67209606A32D; Tue, 1 Dec 2026 03:00:17 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F1D81F00899; Tue, 1 Dec 2026 03:00:17 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796094017; bh=KaSLIcBKEoftCwzLROheVbgx7T3Uv/wpT8FOCm7UE8E=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Pkg+/cDi5Nj7jXDB9ZdPSL0iZvNjG+kWAKF3gSQsmggYNN6ZlWJGLWI1j+hTaRYbz n6FNM4kzuhSzR0OsATIY+0V8qDHcKyq4b2ycVZ3cPRC4dMAtlMsjHvz3BJ9bAoHKCv IHIZBllThxsQI4VQbIk6FA3zch/U9+fU877UXaN5Hmerytv+MVQdjGp2yC9Wz6j1s6 D7+DQFdDu56cb5p3vkP1R1I9PHGE9P2UYzklCb7X5AG8rV0LZ26USegKxYSG46lZBK 4ZXJqVfn2DvNBwXWn1OHDZkGlmBIEiHYxo9Wo/j0BrpK2LW6UylVnUNXzuxFIZyybh 0V0o2B4ZFlJtw== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 348D338068C0; Tue, 1 Dec 2026 03:00:17 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261122154845.1272203-1-xujingjing@cmss.chinamobile.com> X-Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, kuba@kernel.org, edumazet@kernel.org, pabeni@redhat.com, horms@kernel.org, shuah@kernel.org, willemb@google.com