]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_upstream.c
pimd: Fix RP shenanigans
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 10 Aug 2016 20:16:22 +0000 (16:16 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:06 +0000 (20:26 -0500)
commit8e38a2cfccfdf7b47fb69d6fae26f83c5825d1a6
tree1aa68c55611deebe94e918c07c7f17dbab6b3046
parent90d82769a88020c485118bc76faff15a2c8648cf
pimd: Fix RP shenanigans

The RP was not properly handling the series of events:

1) When a WRVIFWHOLE is received if we are the RP,
send a pim register stop to the FHR.

2) When a register was received we were sending
a join (S,G) towards the S, then a immediate prune (S,G)
followed by another join (S,G).  Just send the first join

3) Save whom we received the S,G register from so we
can use it later

4) Allow a join timer to restart itself instead
of causing a crash.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_mroute.c
pimd/pim_register.c
pimd/pim_register.h
pimd/pim_upstream.c
pimd/pim_upstream.h