Files
android_kernel_xiaomi_sm8450/drivers/net/wireless/intel/iwlwifi/mvm
Johannes Berg b9f726c942 iwlwifi: mvm: fix SKB leak on invalid queue
It used to be the case that if we got here, we wouldn't warn
but instead allocate the queue (DQA). With using the mac80211
TXQs model this changed, and we really have nothing to do with
the frame here anymore, hence the warning now.

However, clearly we missed in coding & review that this is now
a pure error path and leaks the SKB if we return 0 instead of
an indication that the SKB needs to be freed. Fix this.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Fixes: cfbc6c4c5b ("iwlwifi: mvm: support mac80211 TXQs model")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2019-12-24 01:34:52 +02:00
..
2019-01-29 16:10:31 +02:00
2019-11-20 12:28:56 +02:00
2019-02-14 11:29:43 +02:00
2019-11-20 12:28:55 +02:00
2019-09-06 15:31:13 +03:00