numam-spdk/lib/virtio
dongx.yi f591667964 virtio: Close fds when abnormal return.
Here should add close(kickfd) and close(callfd) when abnornal
return of failed to send VHOST_USER_SET_VRING_ENABLE.
Do this as the same with upper abnormal return.

Signed-off-by: dongx.yi <dongx.yi@intel.com>
Change-Id: Ic61fc3f398f582f64da6b3f6ca7e237a3d411a8f
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/479123
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2020-01-07 12:21:20 +00:00
..
virtio_user virtio: export spec-defined structures into a separate header 2019-03-13 14:26:20 +00:00
Makefile virtio: add new library virtio 2017-12-26 13:03:29 -05:00
virtio_pci.c virtio: allocate virtqueue structs using regular calloc 2019-04-17 22:53:05 +00:00
virtio_user.c virtio: Close fds when abnormal return. 2020-01-07 12:21:20 +00:00
virtio.c lib/virtio: change the definition of cookie 2019-06-26 08:03:37 +00:00