Home
last modified time | relevance | path

Searched hist:ed3f83b3 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.ced3f83b3 Mon Jan 02 02:11:42 CST 2023 Miaoqian Lin <linmq006@gmail.com> wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup

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: 243874c64c81 ("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