Skip to content
Commit 7a94b8c2 authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Johannes Berg
Browse files

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: 44905265 ("nl80211: don't expose wdev->ssid for most interfaces")
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent a48a52b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment