Files
Linux/drivers/char
Amos Kong 3856e54837 virtio-rng: fix stuck of hot-unplugging busy device
When we try to hot-remove a busy virtio-rng device from QEMU monitor,
the device can't be hot-removed. Because virtio-rng driver hangs at
wait_for_completion_killable().

This patch exits the waiting by completing have_data completion before
unregistering, resets data_avail to avoid the hwrng core use wrong
buffer bytes.

Signed-off-by: Amos Kong <[email protected]>
Reviewed-by: Amit Shah <[email protected]>
Cc: [email protected]
Signed-off-by: Rusty Russell <[email protected]>
2014-09-11 22:28:34 +09:30
..
2014-08-02 06:43:51 +10:00
…
2013-05-05 00:11:29 -04:00
…
2013-05-05 00:12:29 -04:00
2013-05-05 00:12:29 -04:00
2014-07-13 15:26:47 -07:00
2014-04-16 14:21:06 -07:00
2013-12-18 16:39:54 -08:00
…
…
…
2013-12-19 15:10:49 +01:00
…
…
…
…
…
2013-10-16 12:36:10 -07:00
…
2014-04-16 14:21:06 -07:00