When the Keep alive timer Pops stop the timer
and send a prune upstream if we need to
remove the state.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
/* switched from true to false */
if (!is_join_desired && was_join_desired) {
- zassert(up->join_state == PIM_UPSTREAM_JOINED);
pim_upstream_switch(up, PIM_UPSTREAM_NOTJOINED);
return;
}
(up->channel_oil->cc.oldlastused >= up->channel_oil->cc.lastused))
{
pim_mroute_del (up->channel_oil);
+ THREAD_OFF (up->t_ka_timer);
+ THREAD_OFF (up->t_rs_timer);
+ THREAD_OFF (up->t_join_timer);
+ pim_joinprune_send (up->rpf.source_nexthop.interface, up->rpf.rpf_addr,
+ &up->sg, 0);
pim_upstream_del (up);
}
else