mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-16 12:44:02 +00:00
Merge pull request #9525 from idryzhov/ospfd-crash
ospfd: correctly cleanup spf data
This commit is contained in:
commit
cbf4f6f144
@ -1781,6 +1781,9 @@ void ospf_spf_calculate_area(struct ospf *ospf, struct ospf_area *area,
|
|||||||
ospf->ti_lfa_protection_type);
|
ospf->ti_lfa_protection_type);
|
||||||
|
|
||||||
ospf_spf_cleanup(area->spf, area->spf_vertex_list);
|
ospf_spf_cleanup(area->spf, area->spf_vertex_list);
|
||||||
|
|
||||||
|
area->spf = NULL;
|
||||||
|
area->spf_vertex_list = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ospf_spf_calculate_areas(struct ospf *ospf, struct route_table *new_table,
|
void ospf_spf_calculate_areas(struct ospf *ospf, struct route_table *new_table,
|
||||||
|
Loading…
Reference in New Issue
Block a user