linux/drivers/net/wireless/ath
Miaoqian Lin e596b36e15 wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup
[ Upstream commit ed3f83b345 ]

crypto_alloc_shash() allocates resources, which should be released by
crypto_free_shash(). When ath11k_peer_find() fails, there has memory
leak. Add missing crypto_free_shash() to fix this.

Fixes: 243874c64c ("ath11k: handle RX fragments")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230102081142.3937570-1-linmq006@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:32:55 +01:00
..
ar5523 wifi: ar5523: Fix use-after-free on ar5523_cmd() timed out 2022-12-31 13:32:59 +01:00
ath5k wifi: ath5k: fix repeated words in comments 2022-07-18 13:03:43 +03:00
ath6kl wifi: move from strlcpy with unused retval to strscpy 2022-09-02 11:47:22 +03:00
ath9k wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback() 2023-03-10 09:32:55 +01:00
ath10k wifi: ath10k: Delay the unmapping of the buffer 2022-12-31 13:32:59 +01:00
ath11k wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup 2023-03-10 09:32:55 +01:00
carl9170 wifi: move from strlcpy with unused retval to strscpy 2022-09-02 11:47:22 +03:00
wcn36xx wifi: wcn36xx: fix repeated words in comments 2022-09-19 15:43:02 +03:00
wil6210 net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
ath.h
debug.c
dfs_pattern_detector.c
dfs_pattern_detector.h
dfs_pri_detector.c
dfs_pri_detector.h
hw.c wifi: ath: fix repeated words in comments 2022-07-18 13:04:50 +03:00
Kconfig
key.c
main.c
Makefile
reg.h
regd_common.h
regd.c
regd.h
spectral_common.h
trace.c
trace.h tracing/ath: Use the new __vstring() helper 2022-07-15 17:44:40 -04:00