Rusty Russell 594de1dd64 virtio: handle short buffers in virtio_rng.
If the device fills less than 4 bytes of our random buffer, we'll
BUG_ON.  It's nicer to handle the case where it partially fills the
buffer (the protocol doesn't explicitly bad that).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-06-12 22:16:40 +09:30
..
2008-10-27 08:39:52 -07:00
2008-06-20 14:05:57 -06:00
2009-02-22 12:03:56 +08:00
2008-07-18 00:46:09 -07:00
2008-07-18 00:46:09 -07:00
2008-10-27 08:39:52 -07:00