vhost: cleanup unix socket
authorHuawei Xie <huawei.xie@intel.com>
Tue, 30 Jun 2015 09:20:48 +0000 (17:20 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 30 Jun 2015 15:49:08 +0000 (17:49 +0200)
commit292959c71961acde0cda6e77e737bb0a4df1559c
tree888e76ce28f46fd9a9cdcfc482a5e8b7e649c684
parent3670686ab99f00a1914492fa7c9a223bda325c27
vhost: cleanup unix socket

rte_vhost_driver_unregister API will remove the listenfd from event list,
and then close it.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Signed-off-by: Peng Sun <peng.a.sun@intel.com>
lib/librte_vhost/rte_vhost_version.map
lib/librte_vhost/rte_virtio_net.h
lib/librte_vhost/vhost_cuse/vhost-net-cdev.c
lib/librte_vhost/vhost_user/vhost-net-user.c
lib/librte_vhost/vhost_user/vhost-net-user.h