WSL2-Linux-Kernel/drivers/crypto/hisilicon
Chenghai Huang a886bcb0f6 crypto: hisilicon/sec - Fix memory leak for sec resource release
[ Upstream commit bba4250757b4ae1680fea435a358d8093f254094 ]

The AIV is one of the SEC resources. When releasing resources,
it need to release the AIV resources at the same time.
Otherwise, memory leakage occurs.

The aiv resource release is added to the sec resource release
function.

Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-05 09:14:24 +02:00
..
hpre crypto: hisilicon/hpre - Fix a erroneous check after snprintf() 2023-11-20 11:08:22 +01:00
sec crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq 2022-08-17 14:23:28 +02:00
sec2 crypto: hisilicon/sec - Fix memory leak for sec resource release 2024-07-05 09:14:24 +02:00
trng crypto: hisilicon/trng - add version to adapt new algorithm 2021-04-16 21:16:31 +10:00
zip crypto: hisilicon/zip - fix mismatch in get/set sgl_sge_nr 2022-10-26 12:35:24 +02:00
Kconfig crypto: hisilicon/hpre - fix Kconfig 2021-03-26 20:15:57 +11:00
Makefile crypto: hisilicon/trng - add HiSilicon TRNG driver support 2020-11-27 17:13:43 +11:00
qm.c crypto: hisilicon/qm - fix missing destroy qp_idr 2022-12-31 13:14:21 +01:00
qm.h crypto: hisilicon/qm - add missing pci_dev_put() in q_num_set() 2022-12-31 13:14:23 +01:00
sgl.c crypto: hisilicon: Wipe entire pool on error 2023-03-10 09:39:49 +01:00