vhost-user: fix link-up status 72/8472/2
authorYoann Desmouceaux <ydesmouc@cisco.com>
Wed, 20 Sep 2017 09:00:42 +0000 (11:00 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 22 Sep 2017 16:02:23 +0000 (16:02 +0000)
commit35df2e1dc9dd639f3a28680689c1d5f3ec6d8dfc
treec48ffc9f4f0cb3d603b892779093041b0c0bee4f
parent9969a3274bfdbaa62b3528887641c5ea36a8509f
vhost-user: fix link-up status

When changing the admin state of a vhost-user interface, do not put it
in link-up mode if the interface is not actually ready.

Change-Id: Idbc631a7126efa79d199909f9e7656d21bd412ca
Signed-off-by: Yoann Desmouceaux <ydesmouc@cisco.com>
src/vnet/devices/virtio/vhost-user.c