]> 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)
commit39665b94a8a798b395629c19f20a452d2d68051d
tree321afea972b0be8562b3ff00e5af8b76f903744d
parentd3ad513cd8ba6f833c96be379a4b629e81861040
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