On Mon, Jan 06, 2020 at 11:18:37AM -0800, Stephen Hemminger wrote: > Valgrind complains that virtio_user is calling close(-1). > Fix this by adding check in virtio that is similar to existing code. > > Fixes: 37a7eb2ae816 ("net/virtio-user: add device emulation layer") > Cc: jianfeng....@intel.com > Cc: sta...@dpdk.org > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> > --- > drivers/net/virtio/virtio_user/virtio_user_dev.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Tiwei Bie <tiwei....@intel.com>