numam-dpdk/lib/vhost
David Marchand af74f7db38 vhost: fix FD leak with inflight messages
Even if unlikely, a buggy vhost-user master might attach fds to inflight
messages. Add checks like for other types of vhost-user messages.

Fixes: d87f1a1cb7 ("vhost: support inflight info sharing")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2022-03-10 14:03:48 +01:00
..
fd_man.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
fd_man.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
iotlb.c remove unnecessary null checks 2022-02-12 12:07:48 +01:00
iotlb.h vhost: improve IOTLB logs 2022-01-27 09:44:31 +01:00
meson.build vhost: integrate dmadev in asynchronous data-path 2022-02-10 15:59:17 +01:00
rte_vdpa.h vhost: add missing C++ guards 2022-02-22 14:47:49 +01:00
rte_vhost_async.h vhost: add missing C++ guards 2022-02-22 14:47:49 +01:00
rte_vhost_crypto.h vhost: add missing C++ guards 2022-02-22 14:47:49 +01:00
rte_vhost.h vhost: integrate dmadev in asynchronous data-path 2022-02-10 15:59:17 +01:00
socket.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
vdpa_driver.h vhost: add missing C++ guards 2022-02-22 14:47:49 +01:00
vdpa.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
version.map vhost: fix linker script syntax 2022-03-04 14:50:55 +01:00
vhost_crypto.c remove unnecessary null checks 2022-02-12 12:07:48 +01:00
vhost_user.c vhost: fix FD leak with inflight messages 2022-03-10 14:03:48 +01:00
vhost_user.h vhost: fix external message handlers 2022-03-08 15:48:30 +01:00
vhost.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
vhost.h vhost: fix physical address mapping 2022-02-15 11:49:47 +01:00
virtio_crypto.h
virtio_net.c vhost: fix field naming in guest page struct 2022-02-15 11:49:47 +01:00