]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: don't call iwl_mvm_free_inactive_queue() under RCU
authorJohannes Berg <johannes.berg@intel.com>
Fri, 3 Apr 2020 08:29:55 +0000 (11:29 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 23 Jun 2020 08:24:48 +0000 (11:24 +0300)
commitb3dee11b4f1836516d0c15813d91e6a1164b8d65
tree36ce7034f91214e97a84cdfc125574258af57ea1
parent2e0873da09585b8a2daf9ca8c2facd15f454ec3f
iwlwifi: mvm: don't call iwl_mvm_free_inactive_queue() under RCU

iwl_mvm_free_inactive_queue() will sleep in synchronize_net() under
some circumstances, so don't call it under RCU. There doesn't appear
to be a need for RCU protection around this particular call.

Cc: stable@vger.kernel.org # v5.4+
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20200403112332.0f49448c133d.I17fd308bc4a9491859c9b112f4eb5d2c3fc18d7d@changeid
drivers/net/wireless/intel/iwlwifi/mvm/sta.c