+2
−1
Loading
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>