Skip to content

crypto: qat - unmap buffers before free

Giovanni Cabiddu linux-crypto 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/22 patches 1 replyIn review
  2. v1 posting 1/22 patches 1 replySuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto: qat - unmap buffer before free for DHdrivers/crypto/intel/qat/qat_common/qat_asym_algs.c+2 -30 replies
2/2crypto: qat - unmap buffers before free for RSAdrivers/crypto/intel/qat/qat_common/qat_asym_algs.c+4 -50 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGiovanni CabidduAndy Shevchenko
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RESEND 0/2] crypto: qat - unmap buffers before free

The callbacks functions for RSA and DH free the memory allocated for the source and destination buffers before unmapping it.
This sequence is not correct.

Change the cleanup sequence to unmap the buffers before freeing them.

Resending adding Reviewed-by Andy got from an internal review.

Hareshx Sankar Raj (2):
crypto: qat - unmap buffer before free for DH
crypto: qat - unmap buffers before free for RSA

 .../crypto/intel/qat/qat_common/qat_asym_algs.c    | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
Signature · 1 line
2.40.1