mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 17:18:56 +00:00
pimd: Fix crash on shutdown in oil
When shutting down, do not free oil information after interface information since we use the data there to do so. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
0c68972d53
commit
e2c4bc88d2
@ -54,10 +54,10 @@ static void pim_instance_terminate(struct pim_instance *pim)
|
|||||||
pim->rpf_hash = NULL;
|
pim->rpf_hash = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
pim_oil_terminate(pim);
|
|
||||||
|
|
||||||
pim_if_terminate(pim);
|
pim_if_terminate(pim);
|
||||||
|
|
||||||
|
pim_oil_terminate(pim);
|
||||||
|
|
||||||
pim_msdp_exit(pim);
|
pim_msdp_exit(pim);
|
||||||
|
|
||||||
XFREE(MTYPE_PIM_PIM_INSTANCE, pim);
|
XFREE(MTYPE_PIM_PIM_INSTANCE, pim);
|
||||||
|
Loading…
Reference in New Issue
Block a user