diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-08 14:51:26 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-08 14:51:26 +0000 |
commit | e48dae3ed70daf52ad93c4fdc73270ab1510661f (patch) | |
tree | c2402c37182d207853719a10898832932e2f7f20 /nest | |
parent | 9ff8f334edec974b16497e1e74172977e0fff221 (diff) |
Stop feeding the protocol if it suddenly shuts down.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/rt-table.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 2cf675ad..975874a0 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; |