diff options
author | Heinz Graalfs <graalfs@linux.vnet.ibm.com> | 2013-10-29 00:10:39 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-10-29 01:58:18 +0100 |
commit | 40e4dc530118dbb79e270d5554ac8415588378d2 (patch) | |
tree | 06582a56e89dc9cb3654de1bdcb9afa6adb5ce94 /net/rose | |
parent | virtio_blk: verify if queue is broken after virtqueue_get_buf() (diff) | |
download | linux-40e4dc530118dbb79e270d5554ac8415588378d2.tar.xz linux-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 'net/rose')
0 files changed, 0 insertions, 0 deletions