diff options
author | Rabin Vincent <rabin.vincent@axis.com> | 2015-01-09 16:25:28 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-01-13 22:30:44 +1100 |
commit | 8a45ac12ec5b6ee67f8559c78ae11d9af8b821ee (patch) | |
tree | 6e3930b39740e7070c50dc62101340a3e634175c /crypto/ripemd.h | |
parent | 8155330aad477c5b1337895a6922df76817f0874 (diff) | |
download | linux-8a45ac12ec5b6ee67f8559c78ae11d9af8b821ee.tar.gz linux-8a45ac12ec5b6ee67f8559c78ae11d9af8b821ee.tar.bz2 linux-8a45ac12ec5b6ee67f8559c78ae11d9af8b821ee.zip |
crypto: testmgr - don't use interruptible wait in tests
tcrypt/testmgr uses wait_for_completion_interruptible() everywhere when
it waits for a request to be completed. If it's interrupted, then the
test is aborted and the request is freed.
However, if any of these calls actually do get interrupted, the result
will likely be a kernel crash, when the driver handles the now-freed
request. Use wait_for_completion() instead.
Signed-off-by: Rabin Vincent <rabin.vincent@axis.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ripemd.h')
0 files changed, 0 insertions, 0 deletions