vhost: fix missed break in switch
authorHuawei Xie <huawei.xie@intel.com>
Thu, 10 Dec 2015 17:57:18 +0000 (01:57 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 13 Dec 2015 01:12:22 +0000 (02:12 +0100)
CID 107114 (#1 of 1): Missing break in switch
Fixes: 8f972312b8f4 ("vhost: support vhost-user")

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
lib/librte_vhost/vhost_user/vhost-net-user.c

index 549f907..8b7a448 100644 (file)
@@ -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");