The rte_malloc_socket() call just above that allocates vq is only allocating sizeof(*vq), but the memcpy() would have tried to copy sizeof(*vq) * 2. This code is under #ifdef RTE_LIBRTE_VHOST_NUMA, so it was not normally enabled with DPDK 17.05, but it breaks when DPDK 17.08 turns on libnuma support by default. Change-Id: I020eb610d7e94c3346c25957722f4d9f1ecd370f Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/377631 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
linux | ||
rte_vhost | ||
Makefile | ||
test_plan.md | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_iommu.c | ||
vhost_iommu.h | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |