From c9d18e5ec57d0cb641ba8aee6d71476c4f5d2a73 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 12 Sep 2022 18:27:01 +0200 Subject: [PATCH] Table: Re-scheduling prune event when another prune loop is pending --- nest/rt-table.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nest/rt-table.c b/nest/rt-table.c index f5750cac4..35da182c4 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -2881,7 +2881,8 @@ again: #endif /* state change 2->0, 3->1 */ - tab->prune_state &= 1; + if (tab->prune_state &= 1) + birdloop_flag(tab->loop, RTF_CLEANUP); if (tab->trie_new) { -- 2.47.2