summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2019-12-11 10:09:56 +0100
committerLuca Coelho <luciano.coelho@intel.com>2019-12-24 01:34:52 +0200
commitb9f726c94224e863d4d3458dfec2e7e1284a39ce (patch)
treed092721a7fc87262793799ded5af8c0dfad5c4a1 /drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c
parentd84a7a654a66eead599cfd4f436d1f921e01074f (diff)
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: cfbc6c4c5b91 ("iwlwifi: mvm: support mac80211 TXQs model") Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c')
0 files changed, 0 insertions, 0 deletions