diff options
| author | Heinz Graalfs <[email protected]> | 2013-10-29 09:40:47 +1030 |
|---|---|---|
| committer | Rusty Russell <[email protected]> | 2013-10-29 11:28:19 +1030 |
| commit | 047b9b94951dba2e93c65a582ae2bce25c960b86 (patch) | |
| tree | 0164b14f46fb84a8508445611edbbcadc377096e /tools/testing/radix-tree/linux/kernel.h | |
| parent | 40e4dc530118dbb79e270d5554ac8415588378d2 (diff) | |
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 <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions