mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:37:29 +00:00
pimd: Free up link list on shutdown
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
b8fdedc6b8
commit
150e3ea26d
@ -1210,6 +1210,9 @@ void pim_vxlan_exit(struct pim_instance *pim)
|
|||||||
{
|
{
|
||||||
hash_clean_and_free(&pim->vxlan.sg_hash,
|
hash_clean_and_free(&pim->vxlan.sg_hash,
|
||||||
(void (*)(void *))pim_vxlan_sg_del_item);
|
(void (*)(void *))pim_vxlan_sg_del_item);
|
||||||
|
|
||||||
|
if (vxlan_info.work_list)
|
||||||
|
list_delete(&vxlan_info.work_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
void pim_vxlan_terminate(void)
|
void pim_vxlan_terminate(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user