summaryrefslogtreecommitdiffstats
path: root/pimd/pim_upstream.h
diff options
context:
space:
mode:
authorsaravanank <saravanank@vmware.com>2020-03-20 02:05:11 +0100
committersaravanank <saravanank@vmware.com>2020-03-20 02:27:37 +0100
commit46a9ea8bfa753472e786268ed97444b41ce94fa8 (patch)
tree3e6e28b0d555ad523232fef445c63479c0b3a22f /pimd/pim_upstream.h
parentMerge pull request #6003 from ton31337/fix/skip_kitchen_files (diff)
downloadfrr-46a9ea8bfa753472e786268ed97444b41ce94fa8.tar.xz
frr-46a9ea8bfa753472e786268ed97444b41ce94fa8.zip
pimd: When DR becomes non DR, couldreg state events not handled.
RCA: Upstreams which are in register state other than noinfo, doesnt remove register tunnel from oif after it becomes nonDR Fix: scan upstreams with iif as the old dr and check if couldReg becomes false. If couldreg becomes false from true, remove regiface and stop reg timer. Do not disturb the entry. Later the entry shall be removed by kat expiry. Signed-off-by: Saravanan K <saravanank@vmware.com>
Diffstat (limited to 'pimd/pim_upstream.h')
-rw-r--r--pimd/pim_upstream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pimd/pim_upstream.h b/pimd/pim_upstream.h
index ca693ee73..b3379c67b 100644
--- a/pimd/pim_upstream.h
+++ b/pimd/pim_upstream.h
@@ -394,4 +394,5 @@ void pim_upstream_update_use_rpt(struct pim_upstream *up,
uint32_t pim_up_mlag_local_cost(struct pim_upstream *up);
uint32_t pim_up_mlag_peer_cost(struct pim_upstream *up);
void pim_upstream_reeval_use_rpt(struct pim_instance *pim);
+int pim_upstream_could_register(struct pim_upstream *up);
#endif /* PIM_UPSTREAM_H */