Files
linux/drivers/char/hw_random
Martin Schwidefsky 640e60174d hwrng: core - correct error check of kthread_run call
commit 17fb874dee upstream.

The kthread_run() function can return two different error values
but the hwrng core only checks for -ENOMEM. If the other error
value -EINTR is returned it is assigned to hwrng_fill and later
used on a kthread_stop() call which naturally crashes.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-08-16 20:52:19 -07:00
..
2014-10-02 14:35:00 +08:00
2014-10-02 14:35:00 +08:00
2014-10-02 14:35:00 +08:00
2008-07-18 00:46:09 -07:00
2011-07-28 01:26:30 -07:00
2015-03-16 21:10:28 +01:00
2015-03-16 21:10:28 +01:00
2014-10-02 14:35:00 +08:00