diff options
author | Jason Wang <jasowang@redhat.com> | 2012-05-02 11:41:44 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-02 10:30:34 -0700 |
commit | bfd1678ca0143060686d87ae0c07bebab6f0245b (patch) | |
tree | 9b7a27a90e3251f4c7fd73ba7762b5f44a6e842e /lib/string_helpers.c | |
parent | 2b9ec261e3f247dc84b50263564778bcbefec79b (diff) |
macvtap: zerocopy: fix truesize underestimation
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>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions