diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-10-21 11:33:35 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-10-21 11:59:15 +0200 |
commit | 79845c662eeb95c9a180b9bd0d3ad848ee65b94c (patch) | |
tree | 191a0f1abdc8af9391159bd09c11fa981204aa12 /net/wireless/mlme.c | |
parent | 095d81cee742fc31e1218077ca6ca8f0df07c613 (diff) | |
download | linux-79845c662eeb95c9a180b9bd0d3ad848ee65b94c.tar.bz2 |
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>
Diffstat (limited to 'net/wireless/mlme.c')
0 files changed, 0 insertions, 0 deletions