diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-11-29 10:19:07 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-12-09 15:39:17 +0200 |
commit | 3bf9be40ff76b6df136f14a497167c116b2b3c53 (patch) | |
tree | 27b8f715ea2de959bb0c06ff9b99e408a0942182 /drivers/net/ipg.h | |
parent | a290aec88a9c4747353ea7aa9b2569bd61297c3c (diff) | |
download | linux-3bf9be40ff76b6df136f14a497167c116b2b3c53.tar.bz2 |
vhost: correctly set bits of dirty pages
Fix two bugs in dirty page logging:
When counting pages we should increase address by 1 instead of
VHOST_PAGE_SIZE. Make log_write() correctly process requests
that cross pages with write_address not starting at page boundary.
Reported-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/net/ipg.h')
0 files changed, 0 insertions, 0 deletions