mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 10:37:29 +00:00
Merge pull request #4638 from donaldsharp/ospf_external_delete_crash
ospfd: Do not modify list when using _RO loop
This commit is contained in:
commit
e6a8d53dd2
@ -766,7 +766,7 @@ static void ospf_finish_final(struct ospf *ospf)
|
||||
if (!ext_list)
|
||||
continue;
|
||||
|
||||
for (ALL_LIST_ELEMENTS_RO(ext_list, node, ext)) {
|
||||
for (ALL_LIST_ELEMENTS(ext_list, node, nnode, ext)) {
|
||||
if (ext->external_info)
|
||||
for (rn = route_top(ext->external_info); rn;
|
||||
rn = route_next(rn)) {
|
||||
|
Loading…
Reference in New Issue
Block a user