summaryrefslogtreecommitdiffstats
path: root/scripts/subarch.include
diff options
context:
space:
mode:
authorMasashi Honma <masashi.honma@gmail.com>2018-09-25 04:15:01 +0200
committerJohannes Berg <johannes.berg@intel.com>2018-09-27 11:44:44 +0200
commit1222a16014888ed9733c11e221730d4a8196222b (patch)
tree996fc5f62a229ad0d726fa868eecf21cc4ff7ba9 /scripts/subarch.include
parentmac80211_hwsim: do not omit multicast announce of first added radio (diff)
downloadlinux-1222a16014888ed9733c11e221730d4a8196222b.tar.xz
linux-1222a16014888ed9733c11e221730d4a8196222b.zip
nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
Use array_index_nospec() to sanitize i with respect to speculation. Note that the user doesn't control i directly, but can make it out of bounds by not finding a threshold in the array. Signed-off-by: Masashi Honma <masashi.honma@gmail.com> [add note about user control, as explained by Masashi] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/subarch.include')
0 files changed, 0 insertions, 0 deletions