commit | 79845c662eeb95c9a180b9bd0d3ad848ee65b94c | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Mon Oct 21 11:33:35 2013 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Oct 21 11:59:15 2013 +0200 |
tree | 191a0f1abdc8af9391159bd09c11fa981204aa12 | |
parent | 095d81cee742fc31e1218077ca6ca8f0df07c613 [diff] |
cfg80211: fix scheduled scan pointer access Since rdev->sched_scan_req is dereferenced outside the lock protecting it, this might be done at the wrong time, causing crashes. Move the dereference to where it should be - inside the RTNL locked section. Cc: stable@vger.kernel.org [3.8+] Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>