]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: Fix paging memory leak
authorMatti Gottlieb <matti.gottlieb@intel.com>
Sun, 14 Feb 2016 15:05:39 +0000 (17:05 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 23 Feb 2016 19:51:30 +0000 (21:51 +0200)
commit509146faa240203231d3226c192b52133da87c0e
tree15898501b249ddd5f3064bb7559013395de17739
parenta2a541ebac36b8cf8400998f1e61369971baf39f
iwlwifi: mvm: Fix paging memory leak

If the opmode is stopped and started again we did not free
the paging buffers. Fix that.
In addition when freeing the firmware's paging download
buffer, set the pointer to NULL.

Signed-off-by: Matti Gottlieb <matti.gottlieb@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c