]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix aux station leak
authorSharon <sara.sharon@intel.com>
Fri, 29 May 2020 06:39:29 +0000 (09:39 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 29 May 2020 07:32:37 +0000 (10:32 +0300)
commit69d8f1a8ae52e5453dcff8bb4b0a4d340a978f53
tree321afea972b0be8562b3ff00e5af8b76f903744d
parent8730777f7597c03a21a04e56c76b765aa789b651
iwlwifi: mvm: fix aux station leak

When mvm is initialized we alloc aux station with aux queue.
We later free the station memory when driver is stopped, but we
never free the queue's memory, which casues a leak.

Add a proper de-initialization of the station.

Signed-off-by: Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200529092401.0121c5be55e9.Id7516fbb3482131d0c9dfb51ff20b226617ddb49@changeid
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.h