From: Johannes Berg Date: Mon, 21 Oct 2013 09:33:35 +0000 (+0200) Subject: cfg80211: fix scheduled scan pointer access X-Git-Tag: v3.13-rc1~105^2~23^2^2~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79845c662eeb95c9a180b9bd0d3ad848ee65b94c;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg --- Reading git-diff-tree failed