Merge pull request #9525 from idryzhov/ospfd-crash

ospfd: correctly cleanup spf data
This commit is contained in:
Renato Westphal 2021-08-31 17:54:25 -03:00 committed by GitHub
commit cbf4f6f144
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1781,6 +1781,9 @@ void ospf_spf_calculate_area(struct ospf *ospf, struct ospf_area *area,
ospf->ti_lfa_protection_type);
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,