On Thu, Jul 19, 2018 at 11:37:31AM +0800, Tiwei Bie wrote: > On Tue, Jul 17, 2018 at 09:10:35PM +0800, Tiwei Bie wrote: > > Fixes: fd68b4739d2c ("vhost: use buffer vectors in dequeue path") > > > > Reported-by: Yinan Wang <yinan.w...@intel.com> > > Signed-off-by: Tiwei Bie <tiwei....@intel.com> > > Applied to dpdk-next-virtio/master, thanks.
It would be great to get this patch into main tree ASAP, since meson build with gcc 8 is currently broken on master. [Using Fedora 28]. ../lib/librte_vhost/virtio_net.c: In function ‘rte_vhost_enqueue_burst’: cc1: error: ‘__builtin_memcpy’ forming offset [13, 64] is out of the bounds [0, 12] of object ‘tmp_hdr’ with type ‘struct virtio_net_hdr_mrg_rxbuf’ [-Werror=array-bounds] ../lib/librte_vhost/virtio_net.c:636:34: note: ‘tmp_hdr’ declared here struct virtio_net_hdr_mrg_rxbuf tmp_hdr, *hdr = NULL; ^~~~~~~ cc1: error: ‘__builtin_memcpy’ forming offset [13, 64] is out of the bounds [0, 12] of object ‘tmp_hdr’ with type ‘struct virtio_net_hdr_mrg_rxbuf’ [-Werror=array-bounds] ../lib/librte_vhost/virtio_net.c:636:34: note: ‘tmp_hdr’ declared here cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. Regards, /Bruce