diff options
| author | Johannes Berg <[email protected]> | 2015-12-11 08:06:25 +0000 |
|---|---|---|
| committer | Emmanuel Grumbach <[email protected]> | 2015-12-13 11:38:26 +0000 |
| commit | 4585436091cd812b1165aab71bd4847ea1cb08ec (patch) | |
| tree | cf984f2e986f46770bacdf22dea4fe711f0298fd /tools/perf/scripts/python/sctop.py | |
| parent | iwlwifi: separate firmware version for 7260 devices (diff) | |
| download | kernel-4585436091cd812b1165aab71bd4847ea1cb08ec.tar.gz kernel-4585436091cd812b1165aab71bd4847ea1cb08ec.zip | |
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 <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Emmanuel Grumbach <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
