numam-dpdk/lib/librte_vhost
Maxime Coquelin b7aabd7a87 vhost: fix off-by-one error on descriptor number check
nr_desc is not an index but the number of descriptors,
so can be equal to the virtqueue size.

Fixes: a436f53ebfeb ("vhost: avoid dead loop chain")

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2016-07-25 17:55:12 +02:00
..
2015-09-24 14:57:36 +02:00
2016-06-29 13:33:01 +02:00
2016-06-22 09:47:12 +02:00
2016-06-22 09:47:12 +02:00
2016-06-22 09:47:12 +02:00