diff options
author | Hareshx Sankar Raj <[email protected]> | 2023-06-05 22:06:07 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2023-06-16 20:30:35 +0800 |
commit | d776b25495f2c71b9dbf1f5e53b642215ba72f3c (patch) | |
tree | c2d73156359e0e5746a49affd6d7f3188ddf446e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | eb7713f5ca97697b92f225127440d1525119b8de (diff) |
crypto: qat - unmap buffers before free for RSA
The callback function for RSA frees the memory allocated for the source
and destination buffers before unmapping them.
This sequence is wrong.
Change the cleanup sequence to unmap the buffers before freeing them.
Fixes: 3dfaf0071ed7 ("crypto: qat - remove dma_free_coherent() for RSA")
Signed-off-by: Hareshx Sankar Raj <[email protected]>
Co-developed-by: Bolemx Sivanagaleela <[email protected]>
Signed-off-by: Bolemx Sivanagaleela <[email protected]>
Reviewed-by: Giovanni Cabiddu <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Giovanni Cabiddu <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions