mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 02:30:52 +00:00
Merge pull request #14182 from donaldsharp/bgp_evpn_lock_problem
bgpd: evpn code was not properly unlocking rd_dest
This commit is contained in:
commit
16cbdc0aaf
@ -3757,11 +3757,14 @@ static int install_uninstall_routes_for_vrf(struct bgp *bgp_vrf, int install)
|
|||||||
pi = pi->next) {
|
pi = pi->next) {
|
||||||
ret = bgp_evpn_route_entry_install_if_vrf_match(
|
ret = bgp_evpn_route_entry_install_if_vrf_match(
|
||||||
bgp_vrf, pi, install);
|
bgp_vrf, pi, install);
|
||||||
if (ret)
|
if (ret) {
|
||||||
|
bgp_dest_unlock_node(rd_dest);
|
||||||
|
bgp_dest_unlock_node(dest);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user