aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2026-10-11 11:31:29 +0200
committerJohannes Berg <johannes.berg@intel.com>2026-10-13 13:58:36 +0200
commitef27674b8471b5d1c80fe5ebfaa4f2b07dfb1096 (patch)
tree8aec62f33ed9a84d01fbd6e75d62561339b3edaf /scripts/Makefile.thinlto
parentwifi: nl80211: avoid RTNL for wiphy/interface netlink dumps (diff)
wifi: cfg80211: protect wiphy names with cfg80211_mutex
The RTNL is only used for wiphy names to serialize checking for name collisions and setting the name, across all wiphys. Since the wiphy list can be walked under the cfg80211_mutex, use that instead. In nl80211_set_wiphy() this requires taking it before the wiphy mutex, and then the RTNL is no longer needed there at all if the netdev is looked up under RCU. Since the netns of the wiphy and its netdevs is now also stable under the cfg80211_mutex, only the netdev unregistering needs to be handled, by looking up the wdev again under the wiphy mutex. Assisted-by: LLM Link: https://patch.msgid.link/20261011113308.6cedefb201f4.I03ffe79f337b61ea8f91b91532d3dfb9497e0438@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions