On Tue, 2022-03-22 at 21:58 +0000, William McVicker wrote: > > It would be nice if nl80211_vendor_cmd() could support taking the RTNL lock if > requested via the vendor flags. That would require moving the wiphy lock to > nl80211_vendor_cmds() so that it could take the RTNL and wiphy lock in the > correct order. Is that something you'd be open to Johannes? Not very, to be honest. If we had a good use case for it, maybe, but you're not even saying quite what the use case is :) It's also rather complex, because it'd require effectively open-coding the pre_doit() stuff in the vendor command handler itself, in order to look at the sub-command flags while doing it ... johannes