From: Katerina Kubecova Date: Mon, 6 Nov 2023 08:38:13 +0000 (+0100) Subject: krt.c: fixup lots of routes learn & unlearn X-Git-Tag: v3.0.0~352 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f992e7e1feea20074fff981473cbadd3182dd848;p=thirdparty%2Fbird.git krt.c: fixup lots of routes learn & unlearn --- diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index 19978a75f..6c8ee1b5f 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