]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: update pim upstream structure when RP gets deleted
authorSarita Patra <saritap@vmware.com>
Fri, 22 Feb 2019 18:08:59 +0000 (10:08 -0800)
committerSarita Patra <saritap@vmware.com>
Mon, 25 Feb 2019 07:27:16 +0000 (23:27 -0800)
commit8cfd72682e5be5d4da9543655b11e8b1f92ed6e8
treeea5ca0b2cd10389814efed0e5f2a9d09c24cbfb3
parent28309df0517fb3601297230321dd37ed88e2b88b
pimd: update pim upstream structure when RP gets deleted

When a RP gets deleted, find all the (*, G) upstream whose
group belongs to the deleted RP.

case 1: if the group belongs to any other rp, then call
pim_upstream_update() to update the upstream addr and rpf
information.

case 2: If no RP found for the group, then clear the pim
upstream address and rpf information.

Signed-off-by: Sarita Patra <saritap@vmware.com>
pimd/pim_rp.c