commit | 05c292afb0c0545c0cf084172db13e544eeb8f56 | [log] [tgz] |
---|---|---|
author | Gilad Ben-Yossef <gilad@benyossef.com> | Thu Apr 18 16:39:01 2019 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Apr 25 15:38:15 2019 +0800 |
tree | 317214521e23bc1e88d80aebadcc97d62ea46aa4 | |
parent | c776f7d37b6bf3663c838b2d2223f8ec1b523b12 [diff] |
crypto: ccree - zap entire sg on aead request unmap We were trying to be clever zapping out of the cache only the required length out of scatter list on AEAD request completion and getting it wrong. As Knuth said: "when in douby, use brute force". Zap the whole length of the scatter list. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Cc: stable@vger.kernel.org # v4.19+ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>