diff options
author | Franck LENORMAND <franck.lenormand@nxp.com> | 2019-02-19 16:56:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-23 20:11:12 +0100 |
commit | fce3d391401a0fd25955a02a4a4577c7eae85aeb (patch) | |
tree | dd75d19f4ebbc7c734816c2bf17c77481344142c /fs/btrfs/inode-map.h | |
parent | 9b2fdbdce1fb6774cd234b64b854e9090f4d6ba9 (diff) |
crypto: caam - fix hash context DMA unmap size
commit 65055e2108847af5e577cc7ce6bde45ea136d29a upstream.
When driver started using state->caam_ctxt for storing both running hash
and final hash, it was not updated to handle different DMA unmap
lengths.
Cc: <stable@vger.kernel.org> # v4.19+
Fixes: c19650d6ea99 ("crypto: caam - fix DMA mapping of stack memory")
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/btrfs/inode-map.h')
0 files changed, 0 insertions, 0 deletions