From fe99a7eeb996633051942b6555b4806592dd8ad0 Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Wed, 7 Feb 2018 16:21:48 +0100 Subject: acl-plugin: multicore: send the interrupts to thread0 too The thread0 in some configurations can handle the traffic. Some of the previous fixes accomodated for that, but the interrupt sending for connection clearing was not adapted to that, resulting in a deadlock during clearing of all connections... Change-Id: I32b4c7bac09c91c22b796baab843bdaf41f7045c Signed-off-by: Andrew Yourtchenko --- src/plugins/acl/fa_node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/acl/fa_node.c b/src/plugins/acl/fa_node.c index fb23a354358..3ac45c297ff 100644 --- a/src/plugins/acl/fa_node.c +++ b/src/plugins/acl/fa_node.c @@ -1516,7 +1516,7 @@ send_interrupts_to_workers (vlib_main_t * vm, acl_main_t *am) int i; /* Can't use vec_len(am->per_worker_data) since the threads might not have come up yet; */ int n_threads = vec_len(vlib_mains); - for (i = n_threads > 1 ? 1 : 0; i < n_threads; i++) { + for (i = 0; i < n_threads; i++) { send_one_worker_interrupt(vm, am, i); } } -- cgit 1.2.3-korg