summaryrefslogtreecommitdiff
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorHeinz Graalfs <graalfs@linux.vnet.ibm.com>2013-10-29 09:40:39 +1030
committerRusty Russell <rusty@rustcorp.com.au>2013-10-29 11:28:18 +1030
commit40e4dc530118dbb79e270d5554ac8415588378d2 (patch)
tree06582a56e89dc9cb3654de1bdcb9afa6adb5ce94 /drivers/net/virtio_net.c
parent7f03b17d5c3f3b63dcacf0e481cf94c9d07267ab (diff)
downloadlwn-40e4dc530118dbb79e270d5554ac8415588378d2.tar.gz
lwn-40e4dc530118dbb79e270d5554ac8415588378d2.zip
virtio_console: verify if queue is broken after virtqueue_get_buf()
If virtqueue_get_buf() returns with a NULL pointer it should be verified if the virtqueue is broken, in order to avoid loop calling cpu_relax(). Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions