summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorHeinz Graalfs <graalfs@linux.vnet.ibm.com>2013-11-11 02:22:43 +0100
committerRusty Russell <rusty@rustcorp.com.au>2013-11-11 02:23:26 +0100
commit2bf4fd31394a3f875ea093ee8a209f30b378cbf3 (patch)
tree4889f6272a152930d7cc72c2a30c88d55f57ba39 /drivers/virtio
parentx86, asmlinkage, lguest: Pass in globals into assembler statement (diff)
downloadlinux-2bf4fd31394a3f875ea093ee8a209f30b378cbf3.tar.xz
linux-2bf4fd31394a3f875ea093ee8a209f30b378cbf3.zip
virtio_scsi: verify if queue is broken after virtqueue_get_buf()
If virtqueue_get_buf() returned with a NULL pointer avoid a possibly endless loop by checking for a broken virtqueue. Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions