const char *
bgp_begin_route_refresh(struct bgp_proto *p, struct bgp_channel *c)
{
+ ASSERT_DIE(&c->c != p->p.mpls_channel);
+
if (c->tx_keep)
return bgp_tx_resend(p, c);
static void
bgp_export_fed(struct channel *C)
{
- SKIP_BACK_DECLARE(struct bgp_channel, c, c, C);
- SKIP_BACK_DECLARE(struct bgp_proto, p, p, c->c.proto);
+ SKIP_BACK_DECLARE(struct bgp_proto, p, p, C->proto);
+ if (C == p->p.mpls_channel)
+ return;
/* Schedule End-of-RIB packet */
+ SKIP_BACK_DECLARE(struct bgp_channel, c, c, C);
switch (c->feed_state)
{
case BFS_LOADING: