diff options
| author | 2026-09-04 17:01:59 +0200 | |
|---|---|---|
| committer | 2026-09-09 14:51:29 +0200 | |
| commit | eeee52cfd1d639774c9812e8890631404a057dd2 (patch) | |
| tree | cd7291b08b6907987da420d909613c54de67440e /scripts/Makefile.thinlto | |
| parent | wifi: mac80211: only operate on TDLS peers in the TDLS code (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
