1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

BGP refeed and reload with Adj-RIB-In/Out is done without route refresh

This commit is contained in:
Maria Matejka
2022-10-11 19:26:31 +02:00
parent c1cb2dc31c
commit fdacb89a53
3 changed files with 20 additions and 0 deletions

View File

@@ -661,6 +661,7 @@ channel_schedule_reload(struct channel *c)
{
ASSERT(c->in_req.hook);
rt_refresh_begin(&c->in_req);
rt_request_export(c->table, &c->reload_req);
}
@@ -677,8 +678,13 @@ channel_reload_stopped(struct rt_export_request *req)
static void
channel_reload_log_state_change(struct rt_export_request *req, u8 state)
{
struct channel *c = SKIP_BACK(struct channel, reload_req, req);
if (state == TES_READY)
{
rt_refresh_end(&c->in_req);
rt_stop_export(req, channel_reload_stopped);
}
}
static void