linux/crypto/algif_hash.c
Wang, Rui Y bd92b10c95 crypto: algif_hash - wait for crypto_ahash_init() to complete
[ Upstream commit fe09786178 ]

hash_sendmsg/sendpage() need to wait for the completion
of crypto_ahash_init() otherwise it can cause panic.

Cc: stable@vger.kernel.org
Signed-off-by: Rui Wang <rui.y.wang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-02-15 15:45:29 -05:00

466 lines
9.5 KiB