mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-06 05:28:19 +00:00
bgpd: remove vrf->iflist deleted to avoid a crash
Ticket: CM-11327 Signed-off-by: Don Slice Reviewed-by: Donald Sharp Testing Done: Manual testing, bgp-min, vrf-min, bgp-smoke, vrf-smoke all successful When bgp was configured in a vrf and then deleted, the vrf->iflist was being deleted from the vrf. Since the vrf itself was not deleted, it was assumed in later calls that the vrf->iflist was still there and when it was referenced, the crash occurred.
This commit is contained in:
parent
99d8325e9a
commit
d236e0b80a
@ -7251,7 +7251,6 @@ bgp_if_finish (struct bgp *bgp)
|
||||
for (ALL_LIST_ELEMENTS (ifp->connected, c_node, c_nnode, c))
|
||||
bgp_connected_delete (bgp, c);
|
||||
}
|
||||
vrf_iflist_terminate (bgp->vrf_id);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Loading…
Reference in New Issue
Block a user