Re: [PATCH] crypto: octeontx2: Fix cptvf driver cleanup

From: Herbert Xu
Date: Fri Dec 15 2023 - 04:59:07 EST


On Mon, Dec 11, 2023 at 10:15:58AM +0530, Bharat Bhushan wrote:
> This patch fixes following cleanup issues:
> - Missing instruction queue free on cleanup. This
> will lead to memory leak.
> - lfs->lfs_num is set to zero before cleanup, which
> will lead to improper cleanup.
> - Missing otx2_cptlf_shutdown() from cptvf driver cleanup
>
> Signed-off-by: Bharat Bhushan <bbhushan2@xxxxxxxxxxx>
> ---
> drivers/crypto/marvell/octeontx2/otx2_cptlf.c | 6 ++++--
> drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c | 10 ++++------
> 2 files changed, 8 insertions(+), 8 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt