diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-26 09:33:46 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-03-06 16:34:11 -0500 | 
| commit | 3c582f627a95c12e85fd414042db09b0fed1a418 (patch) | |
| tree | 226c28ddc3388502ec25eb380f21393bf52978d3 /pimd/pim_vxlan.c | |
| parent | 514bda4715cf25b2a637f298109275594a74dbf5 (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.c | 5 | 
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); +}  | 
