summaryrefslogtreecommitdiff
path: root/pimd/pim_vxlan.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-02-26 09:33:46 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-03-06 16:34:11 -0500
commit3c582f627a95c12e85fd414042db09b0fed1a418 (patch)
tree226c28ddc3388502ec25eb380f21393bf52978d3 /pimd/pim_vxlan.c
parent514bda4715cf25b2a637f298109275594a74dbf5 (diff)
pimd: When shutting down stop the vxlan worker thread
Upon shutdown stop the vxlan worker thread. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_vxlan.c')
-rw-r--r--pimd/pim_vxlan.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pimd/pim_vxlan.c b/pimd/pim_vxlan.c
index 95b108ba67..cce6cfd793 100644
--- a/pimd/pim_vxlan.c
+++ b/pimd/pim_vxlan.c
@@ -1158,3 +1158,8 @@ void pim_vxlan_exit(struct pim_instance *pim)
pim->vxlan.sg_hash = NULL;
}
}
+
+void pim_vxlan_terminate(void)
+{
+ pim_vxlan_work_timer_setup(false);
+}