diff options
author | Hareshx Sankar Raj <[email protected]> | 2023-06-05 22:06:06 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2023-06-16 20:30:35 +0800 |
commit | eb7713f5ca97697b92f225127440d1525119b8de (patch) | |
tree | eb3d93642668f436c1044b96e75356c307e0b05d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e3023094dffb41540330fb0c74cd3a019cd525c2 (diff) |
crypto: qat - unmap buffer before free for DH
The callback function for DH frees the memory allocated for the
destination buffer before unmapping it.
This sequence is wrong.
Change the cleanup sequence to unmap the buffer before freeing it.
Fixes: 029aa4624a7f ("crypto: qat - remove dma_free_coherent() for DH")
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