summaryrefslogtreecommitdiffstats
path: root/pimd/pim_upstream.h
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2017-05-09 20:30:43 +0200
committerChirag Shah <chirag@cumulusnetworks.com>2017-05-16 19:18:29 +0200
commit5578590086b49586c7967ad75da0e58e28dcf368 (patch)
tree0c0a20449de1dac2291d2a76884116c8e10f97f4 /pimd/pim_upstream.h
parentsnapcraft: fix minor typo (diff)
downloadfrr-5578590086b49586c7967ad75da0e58e28dcf368.tar.xz
frr-5578590086b49586c7967ad75da0e58e28dcf368.zip
pimd: Avoid deleting SGRpt entry from PP->P state
-Upon Receving SGRpt Prune message, transitioning from Prune Pending state to NOINFO state, ifchannel entry was getting deleted in prune pending timer expiry. This can result in SGRpt ifhchannel deleted and recreated upon receving triggered or periodic SGRpt received from downstream. The automation test failed as it expected (check) SGRpt entry at RP after it triggers SPT switchover. - While transitioning from Prune-Pending state to NOINFO(Pruned) state, Trigger SGRpt message towards RP. - Add/del some of the debug traces Ticket:CM-16057 Reviewed By:CCR-6198 Testing Done: Rerun test08 multiple times and observed passing it. Pim-smoke with hardnode Ran 95 tests in 11219.420s FAILED (SKIP=10, failures=4) Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_upstream.h')
-rw-r--r--pimd/pim_upstream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_upstream.h b/pimd/pim_upstream.h
index f1c8df35b..d728c6c01 100644
--- a/pimd/pim_upstream.h
+++ b/pimd/pim_upstream.h
@@ -145,7 +145,7 @@ struct pim_upstream *pim_upstream_find_or_add (struct prefix_sg *sg,
struct pim_upstream *pim_upstream_add (struct prefix_sg *sg,
struct interface *ifp, int flags,
const char *name);
-void pim_upstream_ref (struct pim_upstream *up, int flags);
+void pim_upstream_ref (struct pim_upstream *up, int flags, const char *name);
struct pim_upstream *pim_upstream_del(struct pim_upstream *up, const char *name);
int pim_upstream_evaluate_join_desired(struct pim_upstream *up);