]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitdc1cd1d5ac22dbcd158c3de62b76ebb80e55d46b
treeb66a7c78e2c5ea2019902619285d706a4f16e4d7
parent15098803d38778070b8edfa5a3d5fc4fef10d0a1
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