commit | 443fe3ad1174aefdae27ccc0fea16736ba5f7a57 | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Wed May 02 11:41:30 2012 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed May 02 18:09:24 2012 +0300 |
tree | 9d2de83681397f2f8297445e8984df01c4b65862 | |
parent | 73c15784d8be22a96000b5e88b1297827e483677 [diff] |
macvtap: zerocopy: fix offset calculation when building skb This patch fixes the offset calculation when building skb: - offset1 were used as skb data offset not vector offset - reset offset to zero only when we advance to next vector Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>