mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge pull request #18672 from usrivastava-nvidia/master
Some checks are pending
build-test / Build the x86 ubuntu 22.04 docker image (push) Waiting to run
build-test / Test ubuntu x86 docker image (push) Blocked by required conditions
build-test / Build the ARM ubuntu 22.04 docker image (push) Waiting to run
build-test / Test ubuntu ARM docker image (push) Blocked by required conditions
Some checks are pending
build-test / Build the x86 ubuntu 22.04 docker image (push) Waiting to run
build-test / Test ubuntu x86 docker image (push) Blocked by required conditions
build-test / Build the ARM ubuntu 22.04 docker image (push) Waiting to run
build-test / Test ubuntu ARM docker image (push) Blocked by required conditions
pimd: Fix for crash during networking restart
This commit is contained in:
commit
c3c46adf16
|
@ -271,6 +271,8 @@ void pim_vrf_terminate(void)
|
|||
}
|
||||
|
||||
vrf_terminate();
|
||||
/* Delete the vxlan_info.work_list as all the VRFs are deleted*/
|
||||
pim_vxlan_work_list_delete();
|
||||
}
|
||||
|
||||
bool pim_msdp_log_neighbor_events(const struct pim_instance *pim)
|
||||
|
|
|
@ -1249,9 +1249,14 @@ 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)
|
||||
void pim_vxlan_work_list_delete(void)
|
||||
{
|
||||
if (vxlan_info.work_list) {
|
||||
list_delete(&vxlan_info.work_list);
|
||||
UNSET_FLAG(vxlan_info.flags, PIM_VXLANF_WORK_INITED);
|
||||
}
|
||||
}
|
||||
|
||||
void pim_vxlan_terminate(void)
|
||||
|
|
|
@ -33,5 +33,6 @@ struct pim_vxlan_instance {
|
|||
|
||||
extern void pim_vxlan_init(struct pim_instance *pim);
|
||||
extern void pim_vxlan_exit(struct pim_instance *pim);
|
||||
void pim_vxlan_work_list_delete(void);
|
||||
|
||||
#endif /* PIM_VXLAN_INSTANCE_H */
|
||||
|
|
Loading…
Reference in a new issue