diff options
-rw-r--r-- | vnet/vnet/devices/virtio/vhost-user.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vnet/vnet/devices/virtio/vhost-user.c b/vnet/vnet/devices/virtio/vhost-user.c index 6a7f7e600ba..decfebba1c3 100644 --- a/vnet/vnet/devices/virtio/vhost-user.c +++ b/vnet/vnet/devices/virtio/vhost-user.c @@ -2205,6 +2205,8 @@ vhost_user_delete_if (vnet_main_t * vnm, vlib_main_t * vm, u32 sw_if_index) // interface is inactive vui->active = 0; + // Delete configured thread pinning + vec_reset_length (vui->workers); // disconnect interface sockets vhost_user_if_disconnect (vui); vhost_user_update_iface_state (vui); |