From f992e7e1feea20074fff981473cbadd3182dd848 Mon Sep 17 00:00:00 2001 From: Katerina Kubecova Date: Mon, 6 Nov 2023 09:38:13 +0100 Subject: [PATCH] krt.c: fixup lots of routes learn & unlearn --- sysdep/unix/krt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index 19978a75..6c8ee1b5 100644 --- a/sysdep/unix/krt.c +++ b/sysdep/unix/krt.c @@ -531,6 +531,7 @@ done:; static void krt_init_scan(struct krt_proto *p) { + rt_refresh_begin(&p->p.main_channel->in_req); bmap_reset(&p->seen_map, 1024); } @@ -562,6 +563,7 @@ krt_prune(struct krt_proto *p) p->initialized = 1; } + rt_refresh_end(&p->p.main_channel->in_req); } void