]> 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)
commita42a733c4af43a9630aa8e8ebe3f60c1442a752f
treee5cf8a2a1f7672fd1571808a14142010a1ef59f8
parentd9aa8e4af094faaff7d6922ab320746afdec5583
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