alistair23-linux/drivers/char/hw_random
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
..
amd-rng.c hwrng: printk replacement 2014-10-02 14:35:00 +08:00
atmel-rng.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
bcm63xx-rng.c hwrng: bcm63xx - Fix driver compilation 2015-05-04 17:49:52 +08:00
bcm2835-rng.c char: hw_random: drop owner assignment from platform_drivers 2014-10-20 16:20:20 +02:00
core.c hwrng: core - correct error check of kthread_run call 2015-07-28 14:59:54 +08:00
exynos-rng.c hwrng: exynos - make use of devm_hwrng_register 2015-03-16 21:45:55 +11:00
geode-rng.c hwrng: printk replacement 2014-10-02 14:35:00 +08:00
intel-rng.c hwrng: printk replacement 2014-10-02 14:35:00 +08:00
iproc-rng200.c hwrng: iproc-rng200 - make use of devm_hwrng_register 2015-03-16 21:45:56 +11:00
ixp4xx-rng.c IXP4xx: HW pseudo-random generator is available on IXP45x/46x only. 2012-11-22 03:35:39 +00:00
Kconfig hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver 2015-03-06 22:51:34 +11:00
Makefile hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver 2015-03-06 22:51:34 +11:00
msm-rng.c hwrng: msm - make use of devm_hwrng_register 2015-03-16 21:45:55 +11:00
mxc-rnga.c char: hw_random: drop owner assignment from platform_drivers 2014-10-20 16:20:20 +02:00
n2-asm.S sparc64: Add Niagara2 RNG driver. 2008-07-18 00:46:09 -07:00
n2-drv.c char: hw_random: drop owner assignment from platform_drivers 2014-10-20 16:20:20 +02:00
n2rng.h n2rng: Attach on Niagara-T3. 2011-07-28 01:26:30 -07:00
nomadik-rng.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2014-04-03 09:28:16 -07:00
octeon-rng.c hwrng: octeon - remove incorrect __exit markups 2015-03-12 01:11:06 +11:00
omap-rng.c hwrng: omap - Change RNG_CONFIG_REG to RNG_CONTROL_REG in init 2015-03-17 22:32:05 +11:00
omap3-rom-rng.c char: hw_random: drop owner assignment from platform_drivers 2014-10-20 16:20:20 +02:00
pasemi-rng.c char: constify of_device_id array 2015-03-16 21:10:28 +01:00
powernv-rng.c char: constify of_device_id array 2015-03-16 21:10:28 +01:00
ppc4xx-rng.c char: constify of_device_id array 2015-03-16 21:10:28 +01:00
pseries-rng.c hwrng: pseries - remove incorrect __init/__exit markups 2015-03-12 01:11:06 +11:00
timeriomem-rng.c char: hw_random: drop owner assignment from platform_drivers 2014-10-20 16:20:20 +02:00
tpm-rng.c hw_random: add support for the TPM chip as a hardware RNG source 2012-08-22 11:11:41 -05:00
tx4939-rng.c char: hw_random: drop owner assignment from platform_drivers 2014-10-20 16:20:20 +02:00
via-rng.c x86/fpu: Rename i387.h to fpu/api.h 2015-05-19 15:47:30 +02:00
virtio-rng.c hwrng: virtio - drop extra empty line 2015-01-26 11:34:23 +11:00
xgene-rng.c hwrng: xgene - add ACPI support for APM X-Gene RNG unit 2015-03-09 21:06:19 +11:00