linux-stable/drivers/crypto/intel
Svyatoslav Pankratov bcf6fe34a3 crypto: qat - fix double free during reset
[ Upstream commit 01aed663e6 ]

There is no need to free the reset_data structure if the recovery is
unsuccessful and the reset is synchronous. The function
adf_dev_aer_schedule_reset() handles the cleanup properly. Only
asynchronous resets require such structure to be freed inside the reset
worker.

Fixes: d8cba25d2c ("crypto: qat - Intel(R) QAT driver framework")
Signed-off-by: Svyatoslav Pankratov <svyatoslav.pankratov@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-10 17:16:55 +01:00
..
ixp4xx
keembay crypto: drivers - Explicitly include correct DT includes 2023-08-23 11:04:23 +08:00
qat crypto: qat - fix double free during reset 2024-01-10 17:16:55 +01:00
Kconfig
Makefile