summaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps/echo_client.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-07-12 05:44:45 -0700
committerDave Wallace <dwallacelf@gmail.com>2023-07-13 10:43:19 +0000
commit54641342887558b2b92813c6ccd9d93797b9f5a1 (patch)
treed7fa4939253b5b53a4c1c22bd711322c54e0c668 /src/plugins/hs_apps/echo_client.c
parent95c2da7c251a87a4a9e8c618d76df0502e7b24f4 (diff)
hsa: fix echo client init
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ieb2d1e6e0949844a70c81b218ca7dc83690776ca
Diffstat (limited to 'src/plugins/hs_apps/echo_client.c')
-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;
}