mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-25 07:28:41 +00:00
Merge pull request #16617 from FRRouting/mergify/bp/stable/10.1/pr-16608
bgpd: fix crash at no rpki (backport #16608)
This commit is contained in:
commit
1062ff3d0f
@ -439,7 +439,9 @@ static void rpki_delete_all_cache_nodes(struct rpki_vrf *rpki_vrf)
|
||||
|
||||
for (ALL_LIST_ELEMENTS(rpki_vrf->cache_list, cache_node, cache_next,
|
||||
cache)) {
|
||||
rtr_mgr_remove_group(rpki_vrf->rtr_config, cache->preference);
|
||||
if (is_running(rpki_vrf))
|
||||
rtr_mgr_remove_group(rpki_vrf->rtr_config,
|
||||
cache->preference);
|
||||
listnode_delete(rpki_vrf->cache_list, cache);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user