vhost: fix missed unlock
authorHuawei Xie <huawei.xie@intel.com>
Thu, 10 Dec 2015 17:57:19 +0000 (01:57 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 13 Dec 2015 01:13:39 +0000 (02:13 +0100)
commit16321f1caa492bf51c4f057d4793fcb888f1ef0d
tree729410a1aa5cf4e30c3f2e4a0501dd8c1e7ccdfa
parent3b77b90e347e500e489e65c2fc0230de069ff8e8
vhost: fix missed unlock

CID 107113 (#1 of 1): Missing unlock (LOCK)5. missing_unlock: Returning
without unlocking pfdset->fd_mutex.
Fixes: fbf7e07ca142 ("vhost: add select based event driven processing")

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