🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #24926

Re: [PATCH net-next] selftests: net: py: report namespace entry and restoration failures

#24926
From: patchwork-bot+netdevbpf
Date: Tue, 01 Dec 2026 03:00
24 lines
8674 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:55 +0000 you wrote:
> NetNSEnter ignores setns() failures. A failed entry therefore executes
> the with block in the original namespace, and a failed restoration is
> also silent. This violates the context's namespace-switching contract.
> 
> Enable ctypes errno preservation and check both switches. Close the
> saved namespace file after failed entry or a restoration attempt.
> 
> [...]

Here is the summary with links:
  - [net-next] selftests: net: py: report namespace entry and restoration failures
    https://git.kernel.org/netdev/net-next/c/995afb0e5291

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179609401724.4152033.13814805373472230907.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374655-linux-kernel-netdev=dewy.ru
References: <20261122154855.1272304-1-xujingjing@cmss.chinamobile.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374655-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] selftests: net: py: report namespace entry and
 restoration failures
Date: Tue, 01 Dec 2026 03:00:17 +0000
Organization: Usenet Network
Message-ID: <179609401724.4152033.13814805373472230907.git-patchwork-notify@kernel.org>
References: <20261122154855.1272304-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="1597158"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:IXAjDx5aHEeAk9crWFIgN2ssITM= sha256:4ISGavDiNPVv0bb+Y9a4Ich045YPRNb2zp2BXeUKGIE=
	sha1:aRodbp78QjGb/WBEG0zY8EZ6MNI= sha256:iw/qk6R0Ah7YuyGkNJZeOUNbSU9+mwHZEwRIkwC/meg=
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 5083011720F; Tue,  1 Dec 2026 06:00:32 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[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 kX59_3JuEjku;
	Tue,  1 Dec 2026 06:00:29 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-374655-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 0557A117210; Tue,  1 Dec 2026 06:00:20 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 864E4601C18; Tue,  1 Dec 2026 03:00:20 +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=1796094020;
	b=KRnhrzUUOgOaX96D5nfkxkinmdRMr2BshZcYI7aVZ5knHJvRg55c29XsL3IyERCNyeFB
	 lRBmwdJYx+nvBR19QjNE++95UQyb/F6UbE7L4pjCUicKMtX3HSIXXPcaz0Q7jJ0l/9oOT
	 4D3ULmf3q9qFfXB+EZk1HM5mmbxkW9InwySX0hC81Nfw6zyqYumY6gx3zhFGE9uSYbD/1
	 +x+PKEq3N2xN9It+FAxTStxo8QHGHQCl+CVcNRQwF5NJy4lFcR8XAoXgFZlzlfbkzUa8f
	 BWp9wTHN9Gzs/hGEGBir6cnz0D8I4Syz4J4RLmizv5PYX+Kt17XEvo6s3hN236hd3+g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796094020;
	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=HKPhvK/40Ipb4TG9N5RUXD+MrfiWygcfUgvpkRFbDHE=;
	b=ZChhVcyA5uCAiBz1m+e0JlYKl1Qv9ounuag6Pu60CkowDu4QhMz2EAbcF5Z/k7vii+dm
	 FPpGS9+RqGxcOaC2/TiUm+XMXWbf2V7T4W4dXcbWgtop3dcAKk2TeXbMCCSIOVloRdFkT
	 Ns11jU5NE1Ji7DWykEZ4nL0dsdGjPO2mvNrmJpKtq6DP3O1n424wdWWYGlu/E0+QJR4yh
	 yLUQGQkGdQ1L4RoZLihyv6Q4z+f9yq0vOcM5MVV1PAjZ8nclyohsQnbYWU45VDT0yF0Bg
	 wNqY+0uHH+mUKal/oEYhyrkQPUQDdNHgmGixyZ5sKObQKIgNIm9sFGLwCeRMSdk/kYA==
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=SryF0v42;
	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 EDA89606A685;
	Tue,  1 Dec 2026 03:00:19 +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=SryF0v42
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=1796094019;
	b=XFxddE4mLAFmU30NUH51WpMpqk7QUYLXW94Y7Yp+vU18UBXgmAX2tAI6J72X7+7qjpjn
	 MobitRBWT5NPgSrjtmn/nPDUadjq2yI09RvkmOizJ6NVJFANk8W2ZHW3yTNFEuJMpVSzL
	 EpLMWlliZGGxj+mmFBjFiVkOnyaI7hQc7pdfOAdkuluUE3+msV6ZpH7ntLM2yJq1Hbfzy
	 Gh/x+tpDi07shDpBnFO3GmG6152N/wUmzraSZ97BQ03dyrbSAuJWhuSa03olKUJ9MlKsL
	 /UmBZhglHpOOnv5ei8BlY8TxMHwprfNqamJD75zdYRwx4KnH12nZyvtrJXRuuOLQPvA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796094019;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=HKPhvK/40Ipb4TG9N5RUXD+MrfiWygcfUgvpkRFbDHE=;
	b=bmBTDrs7ce2tKFRG89HO5k4fPYx17qZAhjy7i8aBNkbLSpCAHrm0fR4114w4CJipMddi
	 Y6TaYk6XVd/SDsKyeRN2jodQ6EOmYdwrXo+ku+Rl4ZHb/PFye2YLghfCZHqOmr/kZklTu
	 K8GplKEUREayTNvtGcnsCMa7NvSJtk5n1qvuqmC7AwYWCPQWdsWXjZrppfpe3u+Se8b+E
	 dryTvNNwruOMWBoZ+9EpTjSIhOpBuOJGR+I1mDtClfUC0z/tjMGsDwz5OXGgaoxVDQJ3A
	 aw/8M+mVQVd4gwy/r4dzhZ8YZa0e2bRmuWS5j8UVHulu8JRhxw7MR/+947QKYwPYVfw==
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=SryF0v42;
	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 1BDA0606A33D;
	Tue,  1 Dec 2026 03:00:18 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id B912A1F00919;
	Tue,  1 Dec 2026 03:00:18 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796094018;
	bh=HKPhvK/40Ipb4TG9N5RUXD+MrfiWygcfUgvpkRFbDHE=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=SryF0v42Ef19xlJXHzIhSxfj6rw9FzOzzDAGFE/4mkXm7BlDCfa49gi36khjInLhM
	 3dhUVHcvzBdbKBgHBkVb3Uis6a+EnivQRjKb/LMloYSVPb0CBYRJiIgmGpZDsYyJFi
	 AGxsL8mAOhqUu7Z53twOFTSG89wpVB194TSaPvglpn+Bus/oYOxEQsaLxheEJlOj9a
	 rJbER7AxKuCnGDRUiZsyO5miBfMDyXdfvZ11YS9voLG3fLsdTEhymt+CY3V7DbzzDc
	 FBQe/iuhNrIqweFJQ3iQ6VJiFutcXBYsa0U78Z1urHYeEtz1UY7z1Nlq5K0WPGv4uP
	 Ks3KADBOY1r7g==
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 AE6D938068C0;
	Tue,  1 Dec 2026 03:00:18 +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: <20261122154855.1272304-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,
 shaw.leon@gmail.com