diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-11-13 09:06:10 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-11-13 09:16:45 -0500 |
| commit | 150e3ea26db9d59bd4c10a2f9f5d7a0a82a42aa5 (patch) | |
| tree | bcae1b92fe8f8cbbd1eafc5f06e7c48a21cefd01 /pimd/pim_vxlan.c | |
| parent | b8fdedc6b8ca7b8a75805b78aa6e7b48714ab3ec (diff) | |
pimd: Free up link list on shutdown
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd/pim_vxlan.c')
| -rw-r--r-- | pimd/pim_vxlan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_vxlan.c b/pimd/pim_vxlan.c index 9650da89a8..06bd394167 100644 --- a/pimd/pim_vxlan.c +++ b/pimd/pim_vxlan.c @@ -1210,6 +1210,9 @@ void pim_vxlan_exit(struct pim_instance *pim) { hash_clean_and_free(&pim->vxlan.sg_hash, (void (*)(void *))pim_vxlan_sg_del_item); + + if (vxlan_info.work_list) + list_delete(&vxlan_info.work_list); } void pim_vxlan_terminate(void) |
