]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: clear rp_info source_nexthop when RP becomes not reachable
authorSarita Patra <saritap@vmware.com>
Fri, 22 Feb 2019 14:37:06 +0000 (06:37 -0800)
committerSarita Patra <saritap@vmware.com>
Mon, 25 Feb 2019 05:30:22 +0000 (21:30 -0800)
commit640b8d93abcddc6634ed778a9e669639a53b9b0b
tree59b99dbde2951b93ae3346fe091ed809775bff81
parentc3156184f95fc4db5ba6ca58294262cb384dec5d
pimd: clear rp_info source_nexthop when RP becomes not reachable

When route to RP gets modified, FRR receives a notification from
zebra, and call the function pim_update_rp_nh() to compute the
new nexthop and will update the source_nexthop information of
rp_info. This is not working for the case when RP becomes not
reachable.

Fix: When FRR receives a notification from zebra saying RP becomes
not reachable, then delete the source_nexthop informatio of rp_info.

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