summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-12-11 09:06:25 +0100
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-12-13 13:38:26 +0200
commit4585436091cd812b1165aab71bd4847ea1cb08ec (patch)
treecf984f2e986f46770bacdf22dea4fe711f0298fd /drivers/net/wireless/intel
parent628a2918afe42fae2f90749ad3721853fd06b262 (diff)
downloadlinux-4585436091cd812b1165aab71bd4847ea1cb08ec.tar.bz2
iwlwifi: mvm: protect RCU dereference in iwl_mvm_get_key_sta_id
Properly protect the RCU dereference in iwl_mvm_get_key_sta_id() when coming from iwl_mvm_update_tkip_key() which cannot hold the mvm->mutex by moving the call into the RCU critical section. Modify the check to use rcu_dereference_check() to permit this. Fixes: 9513c5e18a0d ("iwlwifi: mvm: Avoid dereferencing sta if it was already flushed") Reported-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel')
0 files changed, 0 insertions, 0 deletions