Skip to content

Commit

Permalink
Merge branch 'rajasekarr/unlock_rd_4050862' into 'dev'
Browse files Browse the repository at this point in the history
bgpd: evpn code was not properly unlocking rd_dest

 #

See merge request nbu-sws/CL/FRR/frr!812
  • Loading branch information
raja-rajasekar committed Aug 28, 2024
2 parents 4933f65 + f82c015 commit 7854dcd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bgpd/bgp_evpn.c
Original file line number Diff line number Diff line change
Expand Up @@ -4006,8 +4006,11 @@ static int install_uninstall_routes_for_vrf(struct bgp *bgp_vrf, bool install)
pi = pi->next) {
ret = bgp_evpn_route_entry_install_if_vrf_match(
bgp_vrf, pi, install);
if (ret)
if (ret) {
bgp_dest_unlock_node(rd_dest);
bgp_dest_unlock_node(dest);
return ret;
}
}
}
}
Expand Down

0 comments on commit 7854dcd

Please sign in to comment.