]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fix host command memory leaks
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Thu, 6 Apr 2017 10:35:38 +0000 (13:35 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 5 Jun 2017 18:47:10 +0000 (21:47 +0300)
commitb618fa1b384f2ea2f3e5276d44e4b93440a33c63
treeb66a7c78e2c5ea2019902619285d706a4f16e4d7
parent4ab9a75222b402bcb13154f537ca3b2e967e205d
iwlwifi: fix host command memory leaks

Sending host command with CMD_WANT_SKB flag demands the release of the
response buffer with iwl_free_resp function.
The patch adds the memory release in all the relevant places

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c