On 07/20/2015 06:12 AM, Michael S. Tsirkin wrote: > From: Jason Wang <jasow...@redhat.com> > > Commit 032a74a1c0fcdd5fd1c69e56126b4c857ee36611 > ("virtio-net: byteswap virtio-net header") breaks any layout by > requiring out_sg[0].iov_len >= n->guest_hdr_len. Fixing this by > copying header to temporary buffer if swap is needed, and then use > this buffer as part of out_sg. > > Fixes 032a74a1c0fcdd5fd1c69e56126b4c857ee36611 > ("virtio-net: byteswap virtio-net header") > Cc: qemu-sta...@nongnu.org > Cc: c...@fr.ibm.com > Signed-off-by: Jason Wang <jasow...@redhat.com> > Reviewed-by: Michael S. Tsirkin <m...@redhat.com> > Signed-off-by: Michael S. Tsirkin <m...@redhat.com> > Reviewed-by: Eric Blake <ebl...@redhat.com>
I think my R-b was intended for 2/6, not this one. But if this has already been pulled, it's not a show-stopper. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature