numam-dpdk/drivers/net/virtio
Stephen Hemminger b56c12acf2 net/virtio-user: check file descriptor before closing
Valgrind complains that virtio_user is calling close(-1).
Fix this by adding check in virtio that is similar to existing code.

Fixes: 37a7eb2ae8 ("net/virtio-user: add device emulation layer")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
2020-01-17 19:46:02 +01:00
..
virtio_user net/virtio-user: check file descriptor before closing 2020-01-17 19:46:02 +01:00
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build net/virtio: add Altivec Rx 2019-10-07 15:00:53 +02:00
rte_pmd_virtio_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
virtio_ethdev.c net/virtio: do not limit packed ring size 2019-11-08 23:15:05 +01:00
virtio_ethdev.h net/virtio: remove remaining simple Tx related stuff 2019-09-06 17:32:42 +02:00
virtio_logs.h
virtio_pci.c net/virtio: unmap device on initialization error 2019-06-20 23:42:04 +02:00
virtio_pci.h net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
virtio_ring.h net/virtio: define avail and used flags as constants 2019-03-29 17:25:32 +01:00
virtio_rxtx_simple_altivec.c net/virtio: fix Rx AltiVec path by getting all packets 2019-10-23 16:43:09 +02:00
virtio_rxtx_simple_neon.c net/virtio: get all pending Rx packets in vectorized paths 2019-10-07 15:00:57 +02:00
virtio_rxtx_simple_sse.c net/virtio: get all pending Rx packets in vectorized paths 2019-10-07 15:00:57 +02:00
virtio_rxtx_simple.c
virtio_rxtx_simple.h
virtio_rxtx.c net/virtio: fix Tx checksum offloads 2019-10-25 19:23:23 +02:00
virtio_rxtx.h net/virtio: fix Rx stats with vectorized functions 2019-10-07 15:00:57 +02:00
virtio_user_ethdev.c net/virtio_user: remove redundant declaration 2019-07-23 14:31:35 +02:00
virtqueue.c
virtqueue.h net/virtio: improve perf via one-way barriers on used flag 2019-10-23 16:43:09 +02:00