summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-11-15 20:27:22 +0100
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-11-15 21:00:29 +0100
commit103ab2db3502beaaeea23e384038c9d10eb37be4 (patch)
tree7bbcc498ca3990d1ab0f52922dfd06bc811b0497
parentpimd: fixup join desired handling to match the RFC defined macro (diff)
downloadfrr-103ab2db3502beaaeea23e384038c9d10eb37be4.tar.xz
frr-103ab2db3502beaaeea23e384038c9d10eb37be4.zip
pimd: we cannot change the Joined state based on RPF resolution
Joined state is computed based on the downstream state and cannot be changed if the RPF link flaps. Reference: rfc 7761, section 4.5.5 Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
-rw-r--r--pimd/pim_rpf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pimd/pim_rpf.c b/pimd/pim_rpf.c
index ebac4a4d6..f20e8e003 100644
--- a/pimd/pim_rpf.c
+++ b/pimd/pim_rpf.c
@@ -307,7 +307,6 @@ void pim_upstream_rpf_clear(struct pim_instance *pim,
struct pim_upstream *up)
{
if (up->rpf.source_nexthop.interface) {
- pim_upstream_switch(pim, up, PIM_UPSTREAM_NOTJOINED);
up->rpf.source_nexthop.interface = NULL;
up->rpf.source_nexthop.mrib_nexthop_addr.u.prefix4.s_addr =
PIM_NET_INADDR_ANY;