numam-dpdk/lib/librte_vhost
Junjie Chen 3ebd930588 vhost: fix mbuf free
dequeue zero copy change buf_addr and buf_iova of mbuf, and return
to mbuf pool without restore them, it breaks vm memory if others allocate
mbuf from same pool since mbuf reset doesn't reset buf_addr and buf_iova.

Fixes: b0a985d1f3 ("vhost: add dequeue zero copy")
Cc: stable@dpdk.org

Signed-off-by: Junjie Chen <junjie.j.chen@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
2018-01-21 15:51:52 +01:00
..
fd_man.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
fd_man.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
iotlb.c vhost: fix IOTLB on NUMA realloc 2017-10-13 22:08:21 +02:00
iotlb.h vhost: add pending IOTLB miss request list and helpers 2017-10-10 15:52:27 +02:00
Makefile vhost: use API to make RARP packet 2018-01-16 18:47:49 +01:00
rte_vhost_version.map vhost: introduce vring call API 2018-01-16 18:47:49 +01:00
rte_vhost.h vhost: introduce vring call API 2018-01-16 18:47:49 +01:00
socket.c vhost: fix error code check when creating thread 2018-01-16 18:47:49 +01:00
vhost_user.c vhost: do deep copy while reallocating queue 2018-01-21 15:51:52 +01:00
vhost_user.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
vhost.c vhost: support virtqueue interrupt/notification suppression 2018-01-16 18:47:49 +01:00
vhost.h vhost: support Explicit Congestion Notification 2018-01-16 18:47:49 +01:00
virtio_net.c vhost: fix mbuf free 2018-01-21 15:51:52 +01:00