linux/drivers/net/wireless
Sven Eckelmann 2f2b1f63a7 wifi: ath11k: Cleanup mac80211 references on failure during tx_complete
commit 29d15589f0 upstream.

When a function is using functions from mac80211 to free an skb then it
should do it consistently and not switch to the generic dev_kfree_skb_any
(or similar functions). Otherwise (like in the error handlers), mac80211
will will not be aware of the freed skb and thus not clean up related
information in its internal data structures.

Not doing so lead in the past to filled up structure which then prevented
new clients to connect.

Fixes: d5c65159f2 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Fixes: 6257c70226 ("wifi: ath11k: fix tx status reporting in encap offload mode")
Cc: stable@vger.kernel.org
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230802-ath11k-ack_status_leak-v2-2-c0af729d6229@narfation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2023-09-06 21:25:31 +01:00
..
admtek wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
ath wifi: ath11k: Cleanup mac80211 references on failure during tx_complete 2023-09-06 21:25:31 +01:00
atmel wifi: atmel: Fix an error handling path in atmel_probe() 2023-07-19 16:35:24 +02:00
broadcom wifi: brcm80211: handle params_v1 allocation failure 2023-08-16 18:32:27 +02:00
cisco wifi: airo: avoid uninitialized warning in airo_get_rate() 2023-07-23 13:53:47 +02:00
intel wifi: iwlwifi: mvm: add dependency for PTP clock 2023-08-30 14:52:28 +02:00
intersil wifi: orinoco: Fix an error handling path in orinoco_cs_probe() 2023-07-19 16:35:24 +02:00
legacy wifi: ray_cs: Fix an error handling path in ray_probe() 2023-07-19 16:35:25 +02:00
marvell wifi: mwifiex: Fix the size of a memory allocation in mwifiex_ret_802_11_scan() 2023-07-19 16:35:22 +02:00
mediatek wifi: mt76: mt7921: fix skb leak by txs missing in AMSDU 2023-09-06 21:25:31 +01:00
microchip wifi: wilc1000: fix for absent RSN capabilities WFA testcase 2023-07-19 16:35:22 +02:00
purelifi wifi: plfxlc: fix potential memory leak in __lf_x_usb_enable_rx() 2022-11-28 15:56:17 +02:00
quantenna wifi: qtnfmac: use struct_size and size_sub for payload length 2023-03-13 15:44:29 +02:00
ralink wifi: rt2x00: Fix memory leak when handling surveys 2023-04-03 16:44:27 +03:00
realtek wifi: rtw88: usb: kill and free rx urbs on probe failure 2023-09-06 21:25:31 +01:00
rsi wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown 2023-07-19 16:35:27 +02:00
silabs spi: Updates for v6.4 2023-04-27 11:02:26 -07:00
st net: Replace all spi->chip_select and spi->cs_gpiod references with function call 2023-03-11 12:34:02 +00:00
ti net: Use of_property_read_bool() for boolean properties 2023-03-16 17:41:28 +00:00
virtual wifi: mac80211_hwsim: Fix possible NULL dereference 2023-07-27 08:56:50 +02:00
zydas wifi: zd1211rw: remove redundant decls 2023-02-13 19:25:47 +02:00
Kconfig wifi: move raycs, wl3501 and rndis_wlan to legacy directory 2023-03-13 15:42:14 +02:00
Makefile wifi: move raycs, wl3501 and rndis_wlan to legacy directory 2023-03-13 15:42:14 +02:00