From: Marek Vasut Date: Tue, 10 Dec 2013 19:26:19 +0000 (+0100) Subject: crypto: ahash - Fully restore ahash request before completing X-Git-Tag: v3.14-rc1~117^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d9a394b97b833d3ab37f49caf12d0be3c88050b;p=pandora-kernel.git 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 --- Reading git-diff-tree failed