]> 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)
commit233095ab6bf9e22c046216212a7e977251e01a9d
tree15898501b249ddd5f3064bb7559013395de17739
parentf207a21cc53a4893d8a035145c1267742f83f55c
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