diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-13 06:16:39 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 14:46:40 +0200 |
commit | 594de1dd6449f79c99e1ba4577ea0e4e06e2b405 (patch) | |
tree | eeaa70736d1aa2b40433d5dc5c98195406591d85 /drivers/virtio | |
parent | virtio_blk: add missing __dev{init,exit} markings (diff) | |
download | linux-594de1dd6449f79c99e1ba4577ea0e4e06e2b405.tar.xz linux-594de1dd6449f79c99e1ba4577ea0e4e06e2b405.zip |
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