This small patch fixes a critical bug during interface deletion.
While the interface was removed, thread placement was not corrected
properly.
This should help fixing VPP-528,VPP-531 as well as other FDS bug reports.
Change-Id: I02f9d44c62b6ca4c0b6d73f476600b342846507f
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
vui->active = 0;
// disconnect interface sockets
vhost_user_if_disconnect (vui);
+ vhost_user_update_iface_state (vui);
// add to inactive interface list
vec_add1 (vum->vhost_user_inactive_interfaces_index, p[0]);