commit | 7a94b8c2eee7083ddccd0515830f8c81a8e44b1a | [log] [tgz] |
---|---|---|
author | Dominik Brodowski <linux@dominikbrodowski.net> | Mon Jan 15 08:12:15 2018 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Jan 15 09:15:04 2018 +0100 |
tree | 97ecb540ce522008ac03bc7840ee2da0b9c0a5a3 | |
parent | a48a52b7bea81c046fe1c1288f84d0eba214cba0 [diff] |
nl80211: take RCU read lock when calling ieee80211_bss_get_ie() As ieee80211_bss_get_ie() derefences an RCU to return ssid_ie, both the call to this function and any operation on this variable need protection by the RCU read lock. Fixes: 44905265bc15 ("nl80211: don't expose wdev->ssid for most interfaces") Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Johannes Berg <johannes.berg@intel.com>