]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
iwlwifi: mvm: don't lock mutex in RCU critical section
authorJohannes Berg <johannes.berg@intel.com>
Sun, 11 Apr 2021 09:46:25 +0000 (12:46 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 14 Apr 2021 09:07:19 +0000 (12:07 +0300)
commit6da29d3b42ea8b23251f8312e083a8da2e5ed6eb
tree73767d6f331fc73823d6e9253b90026d7b610e7e
parentaa1540ca7616b996327abb8cb6f19ee91b34dbe0
iwlwifi: mvm: don't lock mutex in RCU critical section

We cannot lock a mutex while we're in an RCU critical section. At
the same time, we're accessing data structures that are protected
by the mvm->mutex anyway, so just move the entire locking here to
use only that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210411124417.4d27bd36e10e.I1fd8e8fe442c41a5deaa560452b598ed7a60ada5@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c