Vhost-User: Fix bind sockaddr length 71/2071/4
authorPierre Pfister <ppfister@cisco.com>
Mon, 25 Jul 2016 13:32:02 +0000 (14:32 +0100)
committerChris Luke <chris_luke@comcast.com>
Wed, 27 Jul 2016 13:37:03 +0000 (13:37 +0000)
commit5afccb2578d767e3a2be4316211ff38006c336a6
treede829bfef7b73f75f4ac717c7b5d1152fcb9091a
parenta8691754d2f7cdd960c3d8dc5fbff6367e9c36b8
Vhost-User: Fix bind sockaddr length

The sockaddr length argument provided to bind was wrong.
This patch also adds an error message in the CLI when the
vhost-user add function fails.

Change-Id: Ib4466accffe49c8c3f4951ebf3a83a24529f6a5b
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
vnet/vnet/devices/dpdk/vhost_user.c
vnet/vnet/devices/virtio/vhost-user.c