diff options
author | Heinz Graalfs <[email protected]> | 2013-10-29 09:40:39 +1030 |
---|---|---|
committer | Rusty Russell <[email protected]> | 2013-10-29 11:28:18 +1030 |
commit | 40e4dc530118dbb79e270d5554ac8415588378d2 (patch) | |
tree | 06582a56e89dc9cb3654de1bdcb9afa6adb5ce94 /net/lapb/lapb_iface.c | |
parent | 7f03b17d5c3f3b63dcacf0e481cf94c9d07267ab (diff) |
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 <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions