summaryrefslogtreecommitdiffstats
path: root/pimd/pim_upstream.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-05-11 19:46:59 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-05-12 00:36:24 +0200
commit172e45dc30bd5cc6fcada9cc72107cebf33b7b9e (patch)
tree5cc50f8790d098c8747dfbdc7bb9e213693b53f9 /pimd/pim_upstream.h
parentMerge pull request #2172 from msablic/pim_igmp_stats (diff)
downloadfrr-172e45dc30bd5cc6fcada9cc72107cebf33b7b9e.tar.xz
frr-172e45dc30bd5cc6fcada9cc72107cebf33b7b9e.zip
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>
Diffstat (limited to '')
-rw-r--r--pimd/pim_upstream.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/pimd/pim_upstream.h b/pimd/pim_upstream.h
index b75a5b9df..ba133b39d 100644
--- a/pimd/pim_upstream.h
+++ b/pimd/pim_upstream.h
@@ -137,7 +137,6 @@ struct pim_upstream {
int64_t state_transition; /* Record current state uptime */
};
-void pim_upstream_free(struct pim_upstream *up);
struct pim_upstream *pim_upstream_find(struct pim_instance *pim,
struct prefix_sg *sg);
struct pim_upstream *pim_upstream_find_or_add(struct prefix_sg *sg,