X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdevices%2Fvirtio%2Fvhost_user.c;h=0ecc2ffb2eed5a9b08ed294e2f0c0cee9a2fc370;hb=e2daada1d58368b7e77c2990e680bf58e4d94f2e;hp=5f04db093952cc5b566b886ea9363ab03b908464;hpb=42c5c207e7e62f82c34103f4207f3da3915732c4;p=vpp.git diff --git a/src/vnet/devices/virtio/vhost_user.c b/src/vnet/devices/virtio/vhost_user.c index 5f04db09395..0ecc2ffb2ee 100644 --- a/src/vnet/devices/virtio/vhost_user.c +++ b/src/vnet/devices/virtio/vhost_user.c @@ -1271,7 +1271,6 @@ vhost_user_process (vlib_main_t * vm, sun.sun_family = AF_UNIX; template.read_function = vhost_user_socket_read; template.error_function = vhost_user_socket_error; - template.description = format (0, "vhost user process"); while (1) { @@ -1324,6 +1323,7 @@ vhost_user_process (vlib_main_t * vm, template.file_descriptor = sockfd; template.private_data = vui - vhost_user_main.vhost_user_interfaces; + template.description = format (0, "vhost user process"); vui->clib_file_index = clib_file_add (&file_main, &template); vui->num_qid = 2;