Skip to content
Commit f4981956 authored by Amos Kong's avatar Amos Kong Committed by Rusty Russell
Browse files

virtio-rng: skip reading when we start to remove the device



Before we really unregister the hwrng device, reading will get stuck if
the virtio device is reset. We should return error for reading when we
start to remove the device.

Signed-off-by: default avatarAmos Kong <akong@redhat.com>
Reviewed-by: default avatarAmit Shah <amit.shah@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 3856e548
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment