From: Shirley Ma Date: Wed, 20 Jul 2011 17:23:12 +0000 (-0700) Subject: vhost: handle wrap around in # of bufs math X-Git-Tag: v3.1-rc1~316^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e380825ab3f5176f65306c4ac119fd23634ce03;p=pandora-kernel.git vhost: handle wrap around in # of bufs math 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 Signed-off-by: Michael S. Tsirkin --- Reading git-diff-tree failed