]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: update pim upstream structure when RP gets configured
authorSarita Patra <saritap@vmware.com>
Fri, 22 Feb 2019 16:42:19 +0000 (08:42 -0800)
committerSarita Patra <saritap@vmware.com>
Mon, 25 Feb 2019 07:27:16 +0000 (23:27 -0800)
commit28309df0517fb3601297230321dd37ed88e2b88b
treecec4f6a75d3ad6ce9b8f18c5faba06f031338d01
parent1250cb5df29b7ac663fc57ee75ec18899cb6e608
pimd: update pim upstream structure when RP gets configured

When a new RP is configured, find all the (*, G) upstream whose
group belongs to the new RP and then update the upstream structure
with the below fields.
1. De-register for the old RP.
2. Set the upstream address as new RP
3. Register for the new RP.
4. Update the upstream rpf information and kernel multicast forwarding
cache(MFC), if the new RP is reachable.

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