🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25492

Re: [PATCH net v2] ieee802154: keep the original error after a netns rollback

#25492
From: patchwork-bot+netdevbpf
Date: Tue, 01 Dec 2026 22:30
26 lines
8878 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Stefan Schmidt <stefan@datenfreihafen.org>:

On Fri, 20 Nov 2026 07:57:49 +0100 you wrote:
> cfg802154_switch_netns() moves all of a phy's netdevs into a new netns. If
> one move fails, it jumps to the errout label and moves the already-moved
> netdevs back to the old netns.
> 
> That rollback loop overwrites the same 'err' variable with the result of
> each move-back. The move-backs succeed, so 'err' ends up 0 and the function
> returns 0 -- success -- even though nothing moved and the phy stayed in the
> old netns. nl802154_wpan_phy_netns() then tells userspace the move worked.
> 
> [...]

Here is the summary with links:
  - [net,v2] ieee802154: keep the original error after a netns rollback
    https://git.kernel.org/netdev/net/c/006dfe9c1d68

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179616420675.1039728.9956942836653040771.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-375385-linux-kernel-netdev=dewy.ru
References: <20261120065750.3274661-1-amisiurov@cloudlinux.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-375385-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] ieee802154: keep the original error after a netns
 rollback
Date: Tue, 01 Dec 2026 22:30:06 +0000
Organization: Usenet Network
Message-ID: <179616420675.1039728.9956942836653040771.git-patchwork-notify@kernel.org>
References: <20261120065750.3274661-1-amisiurov@cloudlinux.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1833113"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:60ZrjHPJHBRqFvh9CwvdhdniBAk= sha256:rpcgdP7Rq48UHAAaRc10xTUTW0+VChx+nQLKHVhJYdc=
	sha1:54YrDbqEKfpJWEE90bNONI2c59M= sha256:LtW8pmZkj15PbAM5Py6N2j+DCYujEhrmPyki7j5sI9E=
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 478DD1174C2; Wed,  2 Dec 2026 01:30:28 +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 DBoTRPLRzp4f;
	Wed,  2 Dec 2026 01:30:23 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-375385-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 EC32C1174BB; Wed,  2 Dec 2026 01:30:14 +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 AF6DF2EF70; Tue,  1 Dec 2026 22:30:09 +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=1796164209;
	b=EWb+sx5FtazX/eFVN07d0QwWe++Z7zEbzais7LOBYPDdq02rQ+fIIWU73oYW4PlpkvKr
	 sy+xLYqtVoRMyLXd+DZ2KlpBydlwM6lg9XrJ0MCd6IdKF4QGNbuYT2BWB77rFQAWbEuWQ
	 bmiRP3UzY9tXvz3hQeg1X18nc3NB1rKg5rOTKUrShkSUfOk7+hQTBGyEDj4Ih2uAvCeNm
	 N5WavkyPM1mH1BWCKPexq4VuONN6hax3gq5zpdwhtiTkECSY23M5LRfXGiqBBOaqgTFia
	 KuC4CztG7pibjZH4red06nmjEWAvSYqSYnJZi1thFBGGUCC9C573mZIOGyg8QgMQW/A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796164209;
	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=DjOXDaCl8qj0TqJrmyIvKWUJbbPupwiht+pMDwJWHg0=;
	b=pX0d7L0oeE868h53g6YNf/454Kr+n/xypp/56OGMjgpCDzdX/bpY0nc2yn3BcA2j5j4m
	 6/FetWgTCpFk5Qz3MxRpT8O2J8QG8LvvYpw5FwrweIZq3Ug7TfpdfmcCChHzeHHKr8PDo
	 mW0McLYV0h77qirzxFfiniHiC1kub+gFNb4I053vzFBxmQO1QjNohoQ34XGVq0Hq8jPcE
	 4NREmxCCaeoNNux1WilM3aSV2aB6/76y1H+aVGP5bgGeDZSXht8kQVtnfL4HxH4vlq46Q
	 a2wVGGutfuhDLr+knNjxzCboWPpTGOA1fxFvCMdPpaz45lh2g834UjzJjlc651YQ49Q==
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=Kjz1bKSh;
	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 84281606A329;
	Tue,  1 Dec 2026 22:30:09 +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=Kjz1bKSh
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=1796164208;
	b=MYcd47KELPdSM1A+IYNuNGDQfvb77Ir+ke090nuKIsqI9jYvgciM6W29XQkJCww51CR6
	 OAKEhGDHWvFPcoCIl9ITq6Yo+NelGLpZRM5mXQqVtPh31u5pcF0W6ZycPqUkar0laiCzH
	 ypcIVHE+zNDYtZ7D+G8zkzToO5fUYOa3q+M87G2TMPGp5dQqbnUFjqt4gfiNDi+mRFO+9
	 fhBQHCYSTI6nNJhGpk9Bjx7NTjQKH16OtEP+S+rvRCM7S3HqEVJSldl7YqZ2Ne1+g9elg
	 ZcnOsNCfCiWniMg1b2xNBCMecA79W8NfMa7m2gF7eWSCN8kfttoAqmrTlbk6qA1fzAQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796164208;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=DjOXDaCl8qj0TqJrmyIvKWUJbbPupwiht+pMDwJWHg0=;
	b=cJaMZ/UtNrIyYR5OAsdoQMIpJrn8SeId913lmgDAcrzUjt4BOIo3ptOIthsNBIaaNFI6
	 NRLUFJIPGFe5iyphwjdqRhaZqA0bVAWRO6O/LaYnXrOS1+spnrR4SJn4bXZ22IJgZuVE8
	 VFNK/v/O929b+0s1I14yZe+prtY1P4gYVD+XsfXm0ZEYU3SmvlpeVk83nGZ8kx4BNFkxk
	 U0AhIxJU4u542gzaDtHQ64oAz2rioJItCQzsth66zKo5p6esKismSmko6vAtR6zTA/tcf
	 04kTjEfb59TrqpU0K9/atAiBOlSHBY7ZZ+OedGQ6M3CZu2HakhpLYDbj8oqi/lhcnuw==
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=Kjz1bKSh;
	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 A5D97606A31A;
	Tue,  1 Dec 2026 22:30:08 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E0EC1F000C1;
	Tue,  1 Dec 2026 22:30:08 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796164208;
	bh=DjOXDaCl8qj0TqJrmyIvKWUJbbPupwiht+pMDwJWHg0=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=Kjz1bKShn61Y0QINdvJUEisvnG6jAEPjZJLwqD1Shme3YcjvR+6BhbWw+I4Z09Eyo
	 6lfmXqy1TAA1BuTtiLD/DpZ8TKjXheig35uGnBbwxmvb+Gz4YCOvnDZy61LXqSmi2S
	 Q3G5CwlUuXgctSxFqWIg3xbms6kFLq89Poeqgm77KUTlyFsWOtrK9Vif35DVOuJbrW
	 wHnSYBp6OYdHtE8T+F+bKTFV/f65KUkqqyb3e2xJSo2vh2dBPfJ4GxDeBxHJYrqgbu
	 mKaKWkDFDmkX6sV+lQI1wORBiRvuDmmQi271rdIsh8mnaH/55KBioYho2DVMufwfeE
	 lHjdgjoQRMVcw==
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 346B0380821E;
	Tue,  1 Dec 2026 22:30:08 +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: <20261120065750.3274661-1-amisiurov@cloudlinux.com>
X-Cc: alex.aring@gmail.com, stefan@datenfreihafen.org,
 miquel.raynal@bootlin.com, linux-wpan@vger.kernel.org,
 netdev@vger.kernel.org, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
 linux-kernel@vger.kernel.org