summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2026-09-04 17:01:59 +0200
committerJohannes Berg <johannes.berg@intel.com>2026-09-09 14:51:29 +0200
commiteeee52cfd1d639774c9812e8890631404a057dd2 (patch)
treecd7291b08b6907987da420d909613c54de67440e /tools/perf/scripts/python
parent6f0a100df8539ce90f37c14e1945f396ca2410bc (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