diff options
Diffstat (limited to 'src/vlib')
-rw-r--r-- | src/vlib/threads.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/threads.c b/src/vlib/threads.c index b675b8819d2..03fda388edf 100644 --- a/src/vlib/threads.c +++ b/src/vlib/threads.c @@ -1519,6 +1519,7 @@ vlib_workers_sync (void) u32 thread_index = vlib_get_thread_index (); vlib_rpc_call_main_thread (vlib_worker_sync_rpc, (u8 *) &thread_index, sizeof (thread_index)); + vlib_worker_flush_pending_rpc_requests (vlib_get_main ()); } /* Wait until main thread asks for barrier */ |