diff options
author | Marek Vasut <marex@denx.de> | 2013-12-10 23:26:19 +0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-01-05 16:49:51 +0400 |
commit | 1d9a394b97b833d3ab37f49caf12d0be3c88050b (patch) | |
tree | 4aacb0821222f1752d5dac6d2e613ee2dd408e1d /drivers/crypto/Kconfig | |
parent | 8610d7bf608923157aee95cea30e162ed3417658 (diff) | |
download | linux-1d9a394b97b833d3ab37f49caf12d0be3c88050b.tar.xz |
crypto: ahash - Fully restore ahash request before completing
When finishing the ahash request, the ahash_op_unaligned_done() will
call complete() on the request. Yet, this will not call the correct
complete callback. The correct complete callback was previously stored
in the requests' private data, as seen in ahash_op_unaligned(). This
patch restores the correct complete callback and .data field of the
request before calling complete() on it.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions