mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 00:56:19 +00:00
pimd: Fix msdp cleanup issues
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
19b807ca17
commit
3da8a09979
@ -1619,7 +1619,17 @@ void pim_msdp_exit(struct pim_instance *pim)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (pim->msdp.peer_list) {
|
if (pim->msdp.peer_list) {
|
||||||
list_free(pim->msdp.peer_list);
|
list_delete(pim->msdp.peer_list);
|
||||||
pim->msdp.peer_list = NULL;
|
pim->msdp.peer_list = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pim->msdp.sa_hash) {
|
||||||
|
hash_free(pim->msdp.sa_hash);
|
||||||
|
pim->msdp.sa_hash = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (pim->msdp.sa_list) {
|
||||||
|
list_delete(pim->msdp.sa_list);
|
||||||
|
pim->msdp.sa_list = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user