]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix reserved txq freeing
authorLiad Kaufman <liad.kaufman@intel.com>
Thu, 22 Sep 2016 12:14:08 +0000 (15:14 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Oct 2016 08:30:59 +0000 (11:30 +0300)
commit11299e7ae26d8b4780b1935c21b247d8dfa94989
treee5cf8a2a1f7672fd1571808a14142010a1ef59f8
parent049a202fa54384418cad89adef9f751ef6fe4299
iwlwifi: mvm: fix reserved txq freeing

If a TXQ's marking as a reserved queue is removed,
when removing the STA the driver might try to access
out of bounds memory. Make sure the reserved queue
is freed only if it is still reserved.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c