diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 22:16:39 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 22:16:40 +0930 |
commit | 594de1dd6449f79c99e1ba4577ea0e4e06e2b405 (patch) | |
tree | eeaa70736d1aa2b40433d5dc5c98195406591d85 /drivers/virtio | |
parent | 98e94444748e9af93423d1fab90543e75569a58c (diff) | |
download | linux-594de1dd6449f79c99e1ba4577ea0e4e06e2b405.tar.bz2 |
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>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions