vhost: remove socket linked file when deleting vhost interface 47/6347/3
authorSteven <sluong@cisco.com>
Fri, 21 Apr 2017 20:31:50 +0000 (13:31 -0700)
committerDamjan Marion <dmarion.lists@gmail.com>
Mon, 24 Apr 2017 14:46:10 +0000 (14:46 +0000)
commit53129423a6f4e43b39f7547424fbaea99e56f7e2
tree07305ca3fa23738aab32b1cb4b55a61608da2e71
parent636815199a1f359fdd0da706985a74eca95254da
vhost: remove socket linked file when deleting vhost interface

- Unlink the file created for the socket when deleting vhost interface
if we are the server mode.
- Remove all vhost interfaces when VPP process is exitting.

Change-Id: Id9b676cd027bbd67b473bbd01901d1ecc4d8e6cb
Signed-off-by: Steven <sluong@cisco.com>
src/vnet/devices/virtio/vhost-user.c