diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2026-09-04 17:01:59 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-09-09 14:51:29 +0200 |
| commit | eeee52cfd1d639774c9812e8890631404a057dd2 (patch) | |
| tree | cd7291b08b6907987da420d909613c54de67440e /tools/perf/scripts/python | |
| parent | 6f0a100df8539ce90f37c14e1945f396ca2410bc (diff) | |
wifi: cfg80211: restore netns_immutable on failures
Switching a wiphy's netns has to clear netns_immutable before moving
interfaces, but then if any of the interfaces fails to move, it gets
netns_immutable cleared forever. Then userspace can move it by itself,
breaking the assumption that they all move together.
Fix the order here and always reset netns_immutable after attempting
the move.
Assisted-by: LLM
Fixes: 463d018323851 ("cfg80211: make aware of net namespaces")
Link: https://patch.msgid.link/20260904170220.7ea88157dcbc.Id868585a790be8b9ece9b39b0db464a5963faaf3@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
