numam-dpdk/lib/librte_vhost
Tiwei Bie 450539b47e vhost: fix possible dead loop in vector filling
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: fd68b4739d ("vhost: use buffer vectors in dequeue path")
Fixes: 2f3225a7d6 ("vhost: add vector filling support for packed ring")
Cc: stable@dpdk.org

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2019-01-14 17:44:29 +01:00
..
fd_man.c vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
fd_man.h vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
iotlb.c vhost: flush IOTLB cache on new mem table handling 2018-08-05 01:47:47 +02:00
iotlb.h vhost: flush IOTLB cache on new mem table handling 2018-08-05 01:47:47 +02:00
Makefile vhost/crypto: fix shared lib build without cryptodev 2018-10-26 22:14:05 +02:00
meson.build vhost: add config flag for postcopy 2018-10-18 10:24:39 +02:00
rte_vdpa.h vhost: provide helpers for virtio ring relay 2018-12-21 16:22:40 +01:00
rte_vhost_crypto.h vhost/crypto: use separate session mempools 2019-01-10 16:57:22 +01:00
rte_vhost_version.map vhost: provide helpers for virtio ring relay 2018-12-21 16:22:40 +01:00
rte_vhost.h vhost: restrict postcopy live-migration enablement 2018-10-18 10:24:39 +02:00
socket.c vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
vdpa.c vhost: fix possible dead loop in relay helpers 2019-01-14 17:44:29 +01:00
vhost_crypto.c vhost/crypto: use separate session mempools 2019-01-10 16:57:22 +01:00
vhost_user.c vhost: provide helper for host notifier ctrl 2018-12-21 16:22:40 +01:00
vhost_user.h vhost: enable postcopy protocol feature 2018-10-18 10:24:39 +02:00
vhost.c vhost: remove unused function 2018-12-21 16:22:40 +01:00
vhost.h vhost: batch used descs chains write-back with packed ring 2018-12-21 16:22:41 +01:00
virtio_crypto.h vhost: add virtio crypto header file 2018-04-14 00:43:30 +02:00
virtio_net.c vhost: fix possible dead loop in vector filling 2019-01-14 17:44:29 +01:00