numam-dpdk/lib/librte_vhost
Tiwei Bie 761d57651c vhost: fix slave request fd leak
We need to close the old slave request fd if any first
before taking the new one.

Fixes: 275c3f9447 ("vhost: support slave requests channel")
Cc: stable@dpdk.org

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2019-10-07 15:00:53 +02:00
..
fd_man.c vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
fd_man.h vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
iotlb.c vhost: replace IOTLB license with SPDX tag 2019-08-05 16:06:11 +02:00
iotlb.h vhost: replace IOTLB license with SPDX tag 2019-08-05 16:06:11 +02:00
Makefile build: remove unnecessary large file support defines 2019-06-03 23:55:50 +02:00
meson.build lib: add reasons for components being disabled 2019-07-02 23:21:05 +02:00
rte_vdpa.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
rte_vhost_crypto.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
rte_vhost_version.map vhost: add API to set protocol features flags 2019-03-20 18:15:42 +01:00
rte_vhost.h vhost: add device op when notification to guest is sent 2019-10-07 15:00:53 +02:00
socket.c vhost: fix passing destroyed device to destroy callback 2019-04-19 14:51:54 +02:00
vdpa.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
vhost_crypto.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
vhost_user.c vhost: fix slave request fd leak 2019-10-07 15:00:53 +02:00
vhost_user.h vhost: remove unused function prototype 2019-01-18 09:47:26 +01:00
vhost.c vhost: do not inline unlikely fragmented buffers code 2019-06-13 23:54:29 +09:00
vhost.h vhost: add device op when notification to guest is sent 2019-10-07 15:00:53 +02:00
virtio_crypto.h vhost: add virtio crypto header file 2018-04-14 00:43:30 +02:00
virtio_net.c vhost: simplify descriptor buffer prefetching 2019-06-13 23:54:29 +09:00