Commit [1d9a39]  Maximize  Restore  History

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 <>
Cc: David S. Miller <>
Cc: Fabio Estevam <>
Cc: Shawn Guo <>
Signed-off-by: Herbert Xu <>

Marek Vasut Marek Vasut 2013-12-10

Herbert Xu Herbert Xu 2014-01-05

changed crypto/ahash.c
crypto/ahash.c Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks