Messages in this thread | | | Date | Fri, 21 Nov 2014 14:59:32 -0500 (EST) | Subject | Re: [PATCH net-next] macvtap: advance iov iterator when needed in macvtap_put_user() | From | David Miller <> |
| |
From: Jason Wang <jasowang@redhat.com> Date: Thu, 20 Nov 2014 16:31:05 +0800
> When mergeable buffer is used, vnet_hdr_sz is greater than sizeof struct > virtio_net_hdr. So we need advance the iov iterators in this case. > > Fixes 6c36d2e26cda1ad3e2c4b90dd843825fc62fe5b4 ("macvtap: Use iovec iterators") > Cc: Herbert Xu <herbert@gondor.apana.org.au> > Signed-off-by: Jason Wang <jasowang@redhat.com>
Applied, thanks.
| |