diff options
author | Maria Matejka <mq@ucw.cz> | 2021-11-15 22:48:24 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-11-22 19:05:44 +0100 |
commit | df476c2e5d0684c3beab9058bc85d627b0e4d7ed (patch) | |
tree | 523c5c08a86ea377367d2d2b56a01167d842cb39 /nest/proto.c | |
parent | 0fd1c1d091ee8e43eb0e15c67a92960ca581ed5f (diff) |
Corking also feed start to keep BIRD running when refeeds would easily cause congestion
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c index 8babedee..978582ca 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -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) { |