summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authorLiad Kaufman <liad.kaufman@intel.com>2015-04-16 17:21:12 +0300
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-04-20 08:53:20 +0300
commit553452e5ffc0ed13214a287549627d02d9d7fbdc (patch)
treee34260bde05b2c2a767bce6a8a647236eefde360 /drivers/net/wireless/iwlwifi/mvm/mvm.h
parent8047cc0c584844817fbf3bf57cb18c1f762a7136 (diff)
downloadop-kernel-dev-553452e5ffc0ed13214a287549627d02d9d7fbdc.zip
op-kernel-dev-553452e5ffc0ed13214a287549627d02d9d7fbdc.tar.gz
iwlwifi: pcie: prevent using unmapped memory in fw monitor
In the case of a DMA mapping error on the last iteration of the loop of the allocation of memory of the FW monitor we indeed free the pages, but don't NULL out the page variable thus allowing for the possibility of setting the FW monitor variables with invalid data to use. Fixes: c2d202017da1 ("iwlwifi: pcie: add firmware monitor capabilities") Signed-off-by: Liad Kaufman <liad.kaufman@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud