]> git.proxmox.com Git - mirror_frr.git/commit
pimd: Tracking of RPF is *separate* from the lookup
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 2 Apr 2019 13:40:41 +0000 (09:40 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 5 Apr 2019 15:12:59 +0000 (11:12 -0400)
commit43763b11d0d51b60809cddc4722daae359a4d1a9
tree4316e397b407dd65797e583d3947637893afed1d
parent5bd51314352b25420ef1c8df7265b95cdad88e37
pimd: Tracking of RPF is *separate* from the lookup

Start the separation of tracking a Destination from the act
of looking it up.  The cojoining of these two concepts led
to a bunch of code that had to think about both problems leading
to weird situations and code paths.  Simplify the code by making
pim_ecmp_nexthop_search a static function and we only ever
call pim_ecmp_nexthop_lookup when we need to do a RPF().

pim_ecmp_nexthop_lookup will now attempt to find a stored pnc
and if it finds one it will report on the answer from it.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_cmd.c
pimd/pim_nht.c
pimd/pim_nht.h
pimd/pim_rp.c
pimd/pim_rpf.c
pimd/pim_zebra.c