From c9d18e5ec57d0cb641ba8aee6d71476c4f5d2a73 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 12 Sep 2022 18:27:01 +0200 Subject: Table: Re-scheduling prune event when another prune loop is pending --- nest/rt-table.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nest/rt-table.c') diff --git a/nest/rt-table.c b/nest/rt-table.c index f5750cac..35da182c 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) { -- cgit v1.2.3