Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/virtio-user: check file descriptor before closing
[ upstream commit b56c12a ] Valgrind complains that virtio_user is calling close(-1). Fix this by adding check in virtio that is similar to existing code. Fixes: 37a7eb2 ("net/virtio-user: add device emulation layer") Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
- Loading branch information