git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98e9444
)
virtio: handle short buffers in virtio_rng.
author
Rusty Russell
<rusty@rustcorp.com.au>
Sat, 13 Jun 2009 04:16:39 +0000
(22:16 -0600)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:46:40 +0000
(22:16 +0930)
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>
drivers/char/hw_random/virtio-rng.c
patch
|
blob
|
history
diff --cc
drivers/char/hw_random/virtio-rng.c
Simple merge