numam-dpdk/drivers/net/virtio
Jianfeng Tan 2963d99a8b virtio: fix memory leak of virtqueue memzones
When virtio was proposed in DPDK, there is no API to free memzones.
But this has changed since rte_memzone_free() has been implemented by
commit ff909fe21f ("mem: introduce memzone freeing").

This patch is to make sure memzones in struct virtqueue, like mz and
virtio_net_hdr_mz, are freed when queue is released or setup fails.

Fixes: c1f86306a0 ("virtio: add new driver")

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2016-05-10 11:22:39 -07:00
..
Makefile virtio: restrict vector Rx/Tx to x86 SSSE3 2016-03-03 14:00:28 +01:00
rte_pmd_virtio_version.map virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_ethdev.c virtio: fix memory leak of virtqueue memzones 2016-05-10 11:22:39 -07:00
virtio_ethdev.h ethdev: use constants for link duplex 2016-04-01 21:38:34 +02:00
virtio_logs.h virtio: fix newline under debug mode 2016-05-10 10:52:01 -07:00
virtio_pci.c virtio: fix overwritten driver flags 2016-05-10 10:57:10 -07:00
virtio_pci.h virtio: fix overwritten driver flags 2016-05-10 10:57:10 -07:00
virtio_ring.h virtio: fix Coverity unsigned warnings 2015-10-21 16:14:02 +02:00
virtio_rxtx_simple.c mbuf: get DMA address 2016-03-04 16:01:15 +01:00
virtio_rxtx.c virtio: fix segfault on Tx desc flags setup 2016-05-10 10:53:28 -07:00
virtio_rxtx.h virtio: restrict vector Rx/Tx to x86 SSSE3 2016-03-03 14:00:28 +01:00
virtqueue.c virtio: check virtqueue parameter when detaching 2015-07-19 22:24:42 +02:00
virtqueue.h virtio: fix memory leak of virtqueue memzones 2016-05-10 11:22:39 -07:00