Martin Schwidefsky
17fb874dee
hwrng: core - correct error check of kthread_run call
...
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.
Cc: stable@vger.kernel.org
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2015-07-28 14:59:54 +08:00
..
2015-07-02 17:11:28 -07:00
2015-06-26 11:08:27 -07:00
2015-07-01 17:47:51 -07:00
2015-07-04 19:36:06 -07:00
2015-06-26 11:54:29 -07:00
2015-07-28 14:59:54 +08:00
2015-07-02 10:42:13 -07:00
2015-07-01 15:44:18 -07:00
2015-07-02 10:42:13 -07:00
2015-07-02 10:42:13 -07:00
2015-07-23 18:09:18 +08:00
2015-07-01 17:47:51 -07:00
2015-07-03 12:10:12 -07:00
2015-07-03 15:20:57 -07:00
2015-07-01 15:19:35 -07:00
2015-07-03 16:09:29 -07:00
2015-07-02 10:25:22 -07:00
2015-07-03 14:39:06 +02:00
2015-07-01 16:15:05 +03:00
2015-06-26 14:51:15 -07:00
2015-07-01 10:49:25 -07:00
2015-07-04 19:36:06 -07:00
2015-07-04 08:14:22 -07:00
2015-07-01 14:44:22 -07:00
2015-07-04 09:22:51 -07:00
2015-06-24 16:49:49 -07:00
2015-07-01 19:09:11 -07:00
2015-07-02 10:36:29 -07:00
2015-07-04 19:36:06 -07:00
2015-07-01 19:09:11 -07:00
2015-06-26 11:54:29 -07:00
2015-06-30 19:44:57 -07:00
2015-07-01 15:19:35 -07:00
2015-07-01 10:49:25 -07:00
2015-07-02 14:40:49 -07:00
2015-07-01 10:49:25 -07:00
2015-07-04 14:07:47 -07:00
2015-06-26 14:51:15 -07:00
2015-07-04 14:09:32 -04:00
2015-06-26 11:23:38 -04:00
2015-07-01 19:40:18 -07:00
2015-07-01 15:19:35 -07:00
2015-07-02 10:25:22 -07:00
2015-06-27 12:44:34 -07:00
2015-07-01 15:19:35 -07:00
2015-07-05 10:54:09 -07:00
2015-07-02 10:42:13 -07:00
2015-07-02 10:25:22 -07:00
2015-06-27 12:44:34 -07:00
2015-07-03 18:55:18 +02:00
2015-07-04 14:13:43 -07:00
2015-07-01 15:19:35 -07:00
2015-07-02 14:40:49 -07:00
2015-06-26 15:46:08 -07:00
2015-07-04 14:13:43 -07:00
2015-07-01 10:49:25 -07:00
2015-07-02 14:40:49 -07:00
2015-07-04 19:36:06 -07:00
2015-06-28 12:32:13 -07:00
2015-07-04 14:13:43 -07:00
2015-07-03 12:11:17 -07:00
2015-07-03 16:02:25 -07:00
2015-07-01 19:33:16 -07:00
2015-07-04 14:13:43 -07:00
2015-06-24 21:24:10 -04:00
2015-06-29 10:34:42 -07:00