diff options
author | Romain Perier <romain.perier@free-electrons.com> | 2016-07-22 12:40:39 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-07-28 05:04:42 (GMT) |
commit | ec38f82e85532bdde27af8dea8e6c09e26f88e16 (patch) | |
tree | 165ec23b29c0f2a06adb6aadd9042e6c8a11c87d /fs/fcntl.c | |
parent | bbce2ad2d711c12d93145a7bbdf086e73f414bcd (diff) | |
download | linux-ec38f82e85532bdde27af8dea8e6c09e26f88e16.tar.xz |
crypto: marvell - Fix memory leaks in TDMA chain for cipher requests
So far in mv_cesa_ablkcipher_dma_req_init, if an error is thrown while
the tdma chain is built there is a memory leak. This issue exists
because the chain is assigned later at the end of the function, so the
cleanup function is called with the wrong version of the chain.
Fixes: db509a45339f ("crypto: marvell/cesa - add TDMA support")
Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions