Romain Perier <romain.perier@xxxxxxxxxxxxxxxxxx> wrote: > So far, the cache of the ahash requests was updated from the 'complete' > operation. This complete operation is called from mv_cesa_tdma_process > before the cleanup operation, which means that the content of req->src > can be read and copied when it is still mapped. This commit fixes the > issue by moving this cache update from mv_cesa_ahash_complete to > mv_cesa_ahash_req_cleanup, so the copy is done once the sglist is > unmapped. > > Fixes: 1bf6682cb31d ("crypto: marvell - Add a complete operation for..") > Signed-off-by: Romain Perier <romain.perier@xxxxxxxxxxxxxxxxxx> Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html