]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_upstream.c
pimd: Cleanup the deletion event a tiny bit
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 11 May 2018 17:46:59 +0000 (13:46 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 11 May 2018 22:36:24 +0000 (18:36 -0400)
commit172e45dc30bd5cc6fcada9cc72107cebf33b7b9e
tree5cc50f8790d098c8747dfbdc7bb9e213693b53f9
parent5456d3b8447dbe9868291d33e50a4e6dba2959ab
pimd: Cleanup the deletion event a tiny bit

The pim_upstream_free command was leaving slag by
not deleting data associated with the upstream
data structure.  Modify the code to explicitly free
all data associated with an upstream on a pim instance
deletion event.  Additionally the end result is that
the pim_upstream_free command is not needed anymore

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