wifi: mac80211: lock wiphy in IP address notifier
authorJohannes Berg <johannes.berg@intel.com>
Mon, 28 Aug 2023 11:59:41 +0000 (13:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Sep 2023 09:27:20 +0000 (11:27 +0200)
commit730538edc8e0eb14b02708f65100a0deaf43e6cd
tree265419703478bc1b65afd93f0021e677443ac876
parentac2f7d6f2765a10b5075e0024706df7e845e7890
wifi: mac80211: lock wiphy in IP address notifier

Lock the wiphy in the IP address notifier as another
place that should have it locked before calling into
the driver. This needs a bit of attention since the
notifier can be called while the wiphy is already
locked, when we remove an interface. Handle this by
not running the notifier in this case, and instead
calling out to the driver directly.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c
net/mac80211/main.c