aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorSvyatoslav Pankratov <svyatoslav.pankratov@intel.com>2023-10-09 13:27:19 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2023-10-20 13:39:25 +0800
commit01aed663e6c421aeafc9c330bda630976b50a764 (patch)
treed618a0c98fd25d3a2a0f41102d4f1db189ec42c7 /crypto
parentfdcac2ddc759752cb4886138d89a8c06bf5086a7 (diff)
downloadlinux-01aed663e6c421aeafc9c330bda630976b50a764.tar.gz
crypto: qat - fix double free during reset
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: d8cba25d2c68 ("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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions