summaryrefslogtreecommitdiff
path: root/crypto/algif_rng.c
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@axis.com>2015-01-09 16:25:28 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-01-13 22:30:44 +1100
commite61ef0139ced7fcecaa9113a51641f3504e86d28 (patch)
treef180ca5eda96d5018e960f87393ee9360a57e2f7 /crypto/algif_rng.c
parent1fbedcb208372773cf2ddf4b929894adbdc05897 (diff)
downloadlinux-crypto-e61ef0139ced7fcecaa9113a51641f3504e86d28.tar.gz
linux-crypto-e61ef0139ced7fcecaa9113a51641f3504e86d28.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/algif_rng.c')
0 files changed, 0 insertions, 0 deletions