]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_upstream.c
pimd: Limit search to relevant ifchannels in some cases
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 20 Apr 2017 13:03:47 +0000 (09:03 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 20 Apr 2017 19:59:01 +0000 (15:59 -0400)
commitc8fc07cb03a2b56ee97d23671185e6de2bd7a643
tree27297fe93d4c4bf57bf42f8660f5db80a1a4dd7e
parentcf528e4f26a9a43c39f6569509b6753c07fd5fa3
pimd: Limit search to relevant ifchannels in some cases

When we are determining an inherited_olist, let's be allot
smarter about what we look at.  Before this code change
we are looping over the entirety of all ifchannels in
the system to find the relevant ones.  Convert the
code to *find*(hash table lookup) the specific ifchannels we
are interested in.

Ticket: CM-15629
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_ifchannel.c
pimd/pim_upstream.c
pimd/pim_upstream.h