Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Tue, 01 Dec 2026 22:30
Re: [PATCH net v2] ieee802154: keep the original error after a netns rollback
Author: patchwork-bot+netdevbpf
Date: Tue, 01 Dec 2026 22:30
Date: Tue, 01 Dec 2026 22:30
26 lines
8878 bytes
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
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