summaryrefslogtreecommitdiff
path: root/net/mac80211/scan.c
diff options
context:
space:
mode:
authorShirley Ma <mashirle@us.ibm.com>2011-07-20 21:23:12 +0400
committerMichael S. Tsirkin <mst@redhat.com>2011-07-21 11:48:27 +0400
commit9e380825ab3f5176f65306c4ac119fd23634ce03 (patch)
tree4fdf3f2609da5ee3222103682f3ce10c976353d0 /net/mac80211/scan.c
parentc047e5f3170c2595e66ed67f87cec01afd717212 (diff)
downloadlinux-9e380825ab3f5176f65306c4ac119fd23634ce03.tar.xz
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 <xma@us.ibm.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'net/mac80211/scan.c')
0 files changed, 0 insertions, 0 deletions