git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c047e5f
)
vhost: handle wrap around in # of bufs math
author
Shirley Ma
<mashirle@us.ibm.com>
Wed, 20 Jul 2011 17:23:12 +0000
(10:23 -0700)
committer
Michael S. Tsirkin
<mst@redhat.com>
Thu, 21 Jul 2011 07:48:27 +0000
(10:48 +0300)
The meth for calculating the # of outstanding buffers gives
incorrect results when vq->upend_idx wraps around zero.
Fix that.
Signed-off-by: Shirley Ma <xma@us.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
No differences found