aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSvyatoslav Pankratov <[email protected]>2023-10-09 13:27:19 +0100
committerHerbert Xu <[email protected]>2023-10-20 13:39:25 +0800
commit01aed663e6c421aeafc9c330bda630976b50a764 (patch)
treed618a0c98fd25d3a2a0f41102d4f1db189ec42c7 /include/linux
parentfdcac2ddc759752cb4886138d89a8c06bf5086a7 (diff)
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 <[email protected]> Signed-off-by: Giovanni Cabiddu <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions