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
..
2009-05-26 23:50:40 +09:00
2009-06-05 08:05:23 -07:00
2009-05-07 17:28:59 +02:00
2009-06-01 21:06:21 +02:00
2009-06-11 10:33:09 +03:00
2009-06-11 21:36:11 -04:00