diff options
| author | Romain Perier <[email protected]> | 2016-07-22 12:40:55 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2016-07-28 05:04:43 +0000 |
| commit | 603e989ebee21bfa9cddf8390d0515a07324edc8 (patch) | |
| tree | 2677e1625e24d3b76fc923fade5de6df4fa58f56 /lib/mpi/mpicoder.c | |
| parent | crypto: marvell - Fix memory leaks in TDMA chain for cipher requests (diff) | |
| download | kernel-603e989ebee21bfa9cddf8390d0515a07324edc8.tar.gz kernel-603e989ebee21bfa9cddf8390d0515a07324edc8.zip | |
crypto: marvell - Don't chain at DMA level when backlog is disabled
The flag CRYPTO_TFM_REQ_MAY_BACKLOG is optional and can be set from the
user to put requests into the backlog queue when the main cryptographic
queue is full. Before calling mv_cesa_tdma_chain we must check the value
of the return status to be sure that the current request has been
correctly queued or added to the backlog.
Fixes: 85030c5168f1 ("crypto: marvell - Add support for chaining...")
Signed-off-by: Romain Perier <[email protected]>
Acked-by: Boris Brezillon <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
