]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: don't trust hardware queue number
authorJohannes Berg <johannes.berg@intel.com>
Sun, 19 Dec 2021 10:18:11 +0000 (12:18 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 21 Dec 2021 10:35:06 +0000 (12:35 +0200)
commit0e42384211acdeff756f096bea0cc4e70530a312
tree99785e1a492e165305babcc387c63e7de8a47bcb
parent5c7d6e91136e6bde3659cc19353e19e00d9ee0ab
iwlwifi: mvm: don't trust hardware queue number

We don't really have much reason to mistrust the hardware
queue number, but if it gets mixed up we still don't want
to access some data out of bounds, so drop such frames.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211219121514.539aecb91247.I6e555a5185bad30d7d1a4659f9c0b99325425f18@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/ops.c