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 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 <[email protected]>

Patch applied.  Thanks!
-- 
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to