aboutsummaryrefslogtreecommitdiffstats
path: root/vlib-api
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-06-07 17:35:38 -0400
committerDave Barach <dave@barachs.net>2016-06-07 17:36:12 -0400
commitcf6511560ec7205642b2fb120defbef21b278526 (patch)
treec1c72d223b613b6ea68a43378e2d0ce8891f3457 /vlib-api
parent3f23e9a3c821b854597ea714bf725a1488fda25c (diff)
VPP-83: fix collateral damagev16.06-rc3
Accidentally removed pthread_mutex_unlock (&root_rp->mutex) in the dead client scan case. Oops. Bad idea. Change-Id: I488b7e39d01c267052785bd346e8846351db90a9 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vlib-api')
-rw-r--r--vlib-api/vlibmemory/memory_shared.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vlib-api/vlibmemory/memory_shared.c b/vlib-api/vlibmemory/memory_shared.c
index 71150fdc9cb..1684acfd622 100644
--- a/vlib-api/vlibmemory/memory_shared.c
+++ b/vlib-api/vlibmemory/memory_shared.c
@@ -287,6 +287,7 @@ int vl_map_shmem (char *region_name, int is_vlib)
/* Clean up the root region client list */
pthread_mutex_lock (&root_rp->mutex);
svm_client_scan_this_region_nolock (root_rp);
+ pthread_mutex_unlock (&root_rp->mutex);
}
pthread_mutex_unlock (&vlib_rp->mutex);
am->vlib_rp = vlib_rp;