diff options
author | Ilan Peer <[email protected]> | 2021-01-05 16:56:57 +0200 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2021-01-08 21:03:27 +0100 |
commit | 51d62f2f2c501a93d9a6a46f43731f984e227764 (patch) | |
tree | a231bd71a39a453047e4cc92e7bf8188ae0eff37 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 70b6ff35d62050d1573876cc0e1e078acd3e6008 (diff) |
cfg80211: Save the regulatory domain with a lock
Saving the regulatory domain while setting custom regulatory domain
was done while accessing a RCU protected pointer but without any
protection.
Fix this by using RTNL while accessing the pointer.
Signed-off-by: Ilan Peer <[email protected]>
Reported-by: [email protected]
Reported-by: [email protected]
Reported-by: Hans de Goede <[email protected]>
Fixes: beee24695157 ("cfg80211: Save the regulatory domain when setting custom regulatory")
Signed-off-by: Luca Coelho <[email protected]>
Link: https://lore.kernel.org/r/iwlwifi.20210105165657.613e9a876829.Ia38d27dbebea28bf9c56d70691d243186ede70e7@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions