]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_upstream.c
pimd: Convert pim_ifchannel_list to use up->ifchannels
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 20 Apr 2017 14:12:41 +0000 (10:12 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 20 Apr 2017 19:59:57 +0000 (15:59 -0400)
commitb5e6281b6551736f381bae4d4f8072f5255ca51c
tree8efc5b5192d7bc2d6605972cd593a782ba0b89fa
parent2a28f7a0b9e7d73df353ff296e7990ced524e223
pimd: Convert pim_ifchannel_list to use up->ifchannels

We have a bunch of places where we iterate over
the pim_ifchannel_list to find those ifchannels
that match a certain upstream.  Since we already
know in the upstream the list of ifchannels
associated with it, just look at those instead.

Functions changed:

forward_on
forward_off
pim_upstream_rpf_interface_changed
pim_upstream_update_could_assert
pim_upstream_update_my_assert_metric
pim_upstream_update_assert_tracking_desired
pim_upstream_is_sg_rpt

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