Re: [PATCH] crypto: don't use interruptible wait in tests

2015-01-13 Thread Herbert Xu
On Fri, Jan 09, 2015 at 04:25:28PM +0100, Rabin Vincent wrote: > 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

[PATCH] crypto: don't use interruptible wait in tests

2015-01-09 Thread Rabin Vincent
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 dr