🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Stefan Schmidt Thu, 26 Nov 2026 09:30
Re: [PATCH net v2] ieee802154: keep the original error after a netns rollback
#23001
Author: Stefan Schmidt
Date: Thu, 26 Nov 2026 09:30
22 lines
8210 bytes
Hello Andrey Misiurov.

On Fri, 20 Nov 2026 07:57:49 +0100, Andrey Misiurov 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.
> 
> [...]

Applied to wpan/wpan.git, thanks!

[1/1] ieee802154: keep the original error after a netns rollback
      https://git.kernel.org/wpan/wpan/c/006dfe9c1d68

regards,
Stefan Schmidt
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads