summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorHeinz Graalfs <graalfs@linux.vnet.ibm.com>2013-10-29 00:10:47 +0100
committerRusty Russell <rusty@rustcorp.com.au>2013-10-29 01:58:19 +0100
commit047b9b94951dba2e93c65a582ae2bce25c960b86 (patch)
tree0164b14f46fb84a8508445611edbbcadc377096e /drivers/virtio
parentvirtio_console: verify if queue is broken after virtqueue_get_buf() (diff)
downloadlinux-047b9b94951dba2e93c65a582ae2bce25c960b86.tar.xz
linux-047b9b94951dba2e93c65a582ae2bce25c960b86.zip
virtio_net: verify if queue is broken after virtqueue_get_buf()
If a virtqueue_get_buf() call returns a NULL pointer a possibly endless while loop should be avoided 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