commit | 3afc9621f15701c557e60f61eba9242bac2771dd | [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:22:17 2012 +0300 |
tree | b4fc1cda638c3bc4fb3c4fca80cd27bd03d9ea3b | |
parent | 64d098886e0ec01f88349fe757161c2e2e89086b [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>