]> git.puffer.fish Git - mirror/frr.git/commit
pimd: Avoid deleting SGRpt entry from PP->P state
authorChirag Shah <chirag@cumulusnetworks.com>
Tue, 9 May 2017 18:30:43 +0000 (11:30 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Tue, 16 May 2017 17:18:29 +0000 (10:18 -0700)
commit5578590086b49586c7967ad75da0e58e28dcf368
tree0c0a20449de1dac2291d2a76884116c8e10f97f4
parentf8c7b8a495ebba47e72677d5ef9ead344f413b22
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>
pimd/pim_ifchannel.c
pimd/pim_nht.c
pimd/pim_upstream.c
pimd/pim_upstream.h