On 1/4/19 5:06 AM, Tiwei Bie wrote:
Fix a possible dead loop which may happen, e.g. when driver
created a loop in the desc list and lens in descs are zero.
Fixes: fd68b4739d2c ("vhost: use buffer vectors in dequeue path")
Fixes: 2f3225a7d69b ("vhost: add vector filling support for packed ring")
Cc: [email protected]
Signed-off-by: Tiwei Bie <[email protected]>
---
lib/librte_vhost/virtio_net.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
Reviewed-by: Maxime Coquelin <[email protected]>
Thanks,
Maxime