summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/hs_apps/echo_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/hs_apps/echo_client.c b/src/plugins/hs_apps/echo_client.c
index 9881cf40646..a7358a61952 100644
--- a/src/plugins/hs_apps/echo_client.c
+++ b/src/plugins/hs_apps/echo_client.c
@@ -427,13 +427,14 @@ ec_init (vlib_main_t *vm)
vlib_worker_thread_barrier_sync (vm);
vnet_session_enable_disable (vm, 1 /* turn on session and transports */);
- vlib_worker_thread_barrier_release (vm);
/* Turn on the builtin client input nodes */
foreach_vlib_main ()
vlib_node_set_state (this_vlib_main, echo_clients_node.index,
VLIB_NODE_STATE_POLLING);
+ vlib_worker_thread_barrier_release (vm);
+
return 0;
}