[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <167402371642.24104.14787775190477327666.kvalo@kernel.org>
Date: Wed, 18 Jan 2023 06:35:19 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Miaoqian Lin <linmq006@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Manikanta Pubbisetty <mpubbise@...eaurora.org>,
ath11k@...ts.infradead.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linmq006@...il.com
Subject: Re: [PATCH v2] wifi: ath11k: Fix memory leak in
ath11k_peer_rx_frag_setup
Miaoqian Lin <linmq006@...il.com> wrote:
> 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@...il.com>
> Reviewed-by: Leon Romanovsky <leonro@...dia.com>
> Signed-off-by: Kalle Valo <quic_kvalo@...cinc.com>
Patch applied to ath-next branch of ath.git, thanks.
ed3f83b3459a wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230102081142.3937570-1-linmq006@gmail.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists