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-06-11 08:51:01 -07:00
2009-05-22 07:30:41 -07:00
2009-05-20 08:30:05 +10:00
2008-06-20 14:05:55 -06:00
2008-12-13 11:25:49 -08:00
2009-06-11 08:51:01 -07:00
2008-10-20 08:52:41 -07:00
2008-12-13 09:12:07 +00:00
2009-06-11 08:51:01 -07:00
2008-07-20 17:12:36 -07:00
2009-04-07 08:31:03 -07:00
2008-06-20 14:05:57 -06:00
2008-12-03 21:04:09 +11:00
2009-01-02 10:28:32 -08:00
2008-06-20 14:05:48 -06:00
2008-02-07 08:42:25 -08:00
2009-06-11 08:51:09 -07:00
2008-04-30 08:29:43 -07:00
2008-07-24 10:47:14 -07:00
2009-06-11 08:51:01 -07:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:19:40 -08:00
2007-02-12 09:48:30 -08:00
2009-06-11 08:51:01 -07:00
2008-07-20 17:12:38 -07:00
2009-06-11 08:50:58 -07:00
2009-01-08 16:44:03 -07:00
2009-02-22 09:23:02 -08:00
2009-06-11 08:51:01 -07:00
2009-01-02 10:19:40 -08:00
2009-03-16 08:34:35 -06:00
2008-07-20 17:12:38 -07:00
2008-06-20 14:05:51 -06:00
2008-04-30 23:15:34 +02:00
2009-06-11 08:51:02 -07:00
2009-06-11 08:51:01 -07:00
2009-06-11 08:51:01 -07:00
2009-06-11 08:51:07 -07:00
2008-10-16 16:52:05 +02:00