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

Corking also feed start to keep BIRD running when refeeds would easily cause congestion

This commit is contained in:
Maria Matejka
2021-11-15 22:48:24 +01:00
parent 0fd1c1d091
commit df476c2e5d
2 changed files with 26 additions and 12 deletions

View File

@@ -883,6 +883,7 @@ channel_setup_in_table(struct channel *c, int best)
cat->tab_cf.name = cat->name;
cat->tab_cf.addr_type = c->net_type;
cat->tab_cf.cork_limit = 4 * page_size / sizeof(struct rt_pending_export);
c->in_table = &cat->cat;
c->in_table->push = (struct rt_import_request) {
@@ -926,6 +927,7 @@ channel_setup_out_table(struct channel *c)
cat->tab_cf.name = cat->name;
cat->tab_cf.addr_type = c->net_type;
cat->tab_cf.cork_limit = 4 * page_size / sizeof(struct rt_pending_export);
c->out_table = &cat->cat;
c->out_table->push = (struct rt_import_request) {