git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
b7aabd7
)
vhost: fix off-by-one error on descriptor number check
author
Maxime Coquelin
<maxime.coquelin@redhat.com>
Mon, 25 Jul 2016 14:09:58 +0000
(16:09 +0200)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Mon, 25 Jul 2016 15:55:12 +0000
(17:55 +0200)
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>
No differences found