commit | 5befbd5a7e9c814d145f15b4281c88da96fb1aa9 | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Fri Jul 24 13:56:31 2009 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Jul 24 13:56:31 2009 +0800 |
tree | 0fd9e4a8e95b1e487742ad3c23e3f2bc188a82ac | |
parent | f592682f9fca18d336ac068a1abc8507b4a1d936 [diff] |
crypto: ahash - Use GFP_KERNEL on allocation if the request can sleep ahash_op_unaligned() and ahash_def_finup() allocate memory atomically, regardless whether the request can sleep or not. This patch changes this to use GFP_KERNEL if the request can sleep. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>