]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_upstream.h
pimd: Always create upstream reference when adding channel oil
authorDonald Sharp <sharpd@cumulusnetworks>
Tue, 9 Jul 2019 00:00:43 +0000 (00:00 +0000)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 18 Jul 2019 11:56:37 +0000 (07:56 -0400)
commit02434c43a53a0f75b2dc16eb34283b3674cec141
tree8072d40582c7c13bd31d38bf12951f56bebcb452
parent46dd6edb06504bb11eed87056656fc94a1a01aeb
pimd: Always create upstream reference when adding channel oil

Modify the code to create an upstream reference whenever the code
creates an channel_oil via the pim_mroute.c code.  This code also
starts a keep alive timer to clean up the reference if we do
nothing with it after the normal time.

I've left alone the source->channel_oil creation because these
are kept and tracked independently already.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_mroute.c
pimd/pim_upstream.c
pimd/pim_upstream.h