macvtap: zerocopy: fix truesize underestimation
authorJason Wang <jasowang@redhat.com>
Wed, 2 May 2012 03:41:44 +0000 (11:41 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 25 Jul 2012 03:11:03 +0000 (04:11 +0100)
commit 4ef67ebedffa44ed9939b34708ac2fee06d2f65f upstream.

As the skb fragment were pinned/built from user pages, we should
account the page instead of length for truesize.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

No differences found