mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Table: fixed export_all flush when export_best is idle
This commit is contained in:
parent
0e42398304
commit
95d8329043
@ -1442,8 +1442,8 @@ rte_announce(struct rtable_private *tab, const struct netindex *i UNUSED, net *n
|
|||||||
if (best_rpe)
|
if (best_rpe)
|
||||||
/* Announced best, need an anchor to all */
|
/* Announced best, need an anchor to all */
|
||||||
best_rpe->seq_all = all_rpe->it.seq;
|
best_rpe->seq_all = all_rpe->it.seq;
|
||||||
else if (new_best != old_best)
|
else if (!lfjour_pending_items(&tab->export_best.journal))
|
||||||
/* Would announce best but it's empty with no reader */
|
/* Best is idle, flush its recipient immediately */
|
||||||
rt_flush_best(tab, all_rpe->it.seq);
|
rt_flush_best(tab, all_rpe->it.seq);
|
||||||
|
|
||||||
rt_check_cork_high(tab);
|
rt_check_cork_high(tab);
|
||||||
|
Loading…
Reference in New Issue
Block a user