diff options
author | Jason Wang <jasowang@redhat.com> | 2012-05-02 05:41:30 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-05-02 17:22:17 +0200 |
commit | 3afc9621f15701c557e60f61eba9242bac2771dd (patch) | |
tree | b4fc1cda638c3bc4fb3c4fca80cd27bd03d9ea3b /lib/crc-itu-t.c | |
parent | virtio/tools: add delayed interupt mode (diff) | |
download | linux-3afc9621f15701c557e60f61eba9242bac2771dd.tar.xz linux-3afc9621f15701c557e60f61eba9242bac2771dd.zip |
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>
Diffstat (limited to 'lib/crc-itu-t.c')
0 files changed, 0 insertions, 0 deletions