[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210326093316.GM12658@gondor.apana.org.au>
Date: Fri, 26 Mar 2021 20:33:17 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Hui Tang <tanghui20@...wei.com>
Cc: davem@...emloft.net, linux-crypto@...r.kernel.org,
xuzaibo@...wei.com, wangzhou1@...ilicon.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: hisilicon/hpre - fix "hpre_ctx_init" resource
leak
On Fri, Mar 19, 2021 at 06:45:27PM +0800, Hui Tang wrote:
> When calling "hpre_ctx_set" fails, stop and put qp,
> otherwise will leak qp resource.
>
> Signed-off-by: Hui Tang <tanghui20@...wei.com>
> ---
> drivers/crypto/hisilicon/hpre/hpre_crypto.c | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists