0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-03-21 13:57:04 +00:00

krt.c: fixup lots of routes learn & unlearn

This commit is contained in:
Katerina Kubecova 2023-11-06 09:38:13 +01:00
parent f730ecef4f
commit f992e7e1fe

View File

@ -531,6 +531,7 @@ done:;
static void static void
krt_init_scan(struct krt_proto *p) krt_init_scan(struct krt_proto *p)
{ {
rt_refresh_begin(&p->p.main_channel->in_req);
bmap_reset(&p->seen_map, 1024); bmap_reset(&p->seen_map, 1024);
} }
@ -562,6 +563,7 @@ krt_prune(struct krt_proto *p)
p->initialized = 1; p->initialized = 1;
} }
rt_refresh_end(&p->p.main_channel->in_req);
} }
void void