summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nest/rt-table.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 2cf675a..975874a 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -209,6 +209,8 @@ rt_feed_baby(struct proto *p)
ea_list *tmpa = q->make_tmp_attrs ? q->make_tmp_attrs(e, rte_update_pool) : NULL;
do_rte_announce(h, n, e, NULL, tmpa, ipa_classify(n->n.prefix));
lp_flush(rte_update_pool);
+ if (p->core_state != FS_FEEDING)
+ return; /* In the meantime, the protocol fell down. */
}
}
FIB_WALK_END;