commit | 1fc9b7253382ce1a83d9a3e63e88d656eb63f263 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Feb 06 13:17:14 2019 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Feb 11 15:50:56 2019 +0100 |
tree | 75a2d5946ca8dac7115b3182f858b7866b591eeb | |
parent | ff1bab1ba19165d4402447dd39abae9e21880ebf [diff] |
cfg80211: prevent speculation on cfg80211_classify8021d() return It's possible that the caller of cfg80211_classify8021d() uses the value to index an array, like mac80211 in ieee80211_downgrade_queue(). Prevent speculation on the return value. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>