From: Huawei Xie Date: Thu, 10 Dec 2015 17:57:18 +0000 (+0800) Subject: vhost: fix missed break in switch X-Git-Tag: spdx-start~7768 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3b77b90e347e500e489e65c2fc0230de069ff8e8;p=dpdk.git vhost: fix missed break in switch CID 107114 (#1 of 1): Missing break in switch Fixes: 8f972312b8f4 ("vhost: support vhost-user") Signed-off-by: Huawei Xie Acked-by: John McNamara --- diff --git a/lib/librte_vhost/vhost_user/vhost-net-user.c b/lib/librte_vhost/vhost_user/vhost-net-user.c index 549f9079e8..8b7a4481fe 100644 --- a/lib/librte_vhost/vhost_user/vhost-net-user.c +++ b/lib/librte_vhost/vhost_user/vhost-net-user.c @@ -389,6 +389,8 @@ vserver_message_handler(int connfd, void *dat, int *remove) case VHOST_USER_SET_LOG_BASE: RTE_LOG(INFO, VHOST_CONFIG, "not implemented.\n"); + break; + case VHOST_USER_SET_LOG_FD: close(msg.fds[0]); RTE_LOG(INFO, VHOST_CONFIG, "not implemented.\n");