]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: don't unlock bgp_dest twice
authorTrey Aspelund <taspelund@nvidia.com>
Mon, 11 Jul 2022 22:17:39 +0000 (18:17 -0400)
committerStephen Worley <sworley@nvidia.com>
Tue, 11 Oct 2022 20:18:21 +0000 (16:18 -0400)
commitb5118501acea0d571bbc90a077f90a29a3e6a93d
tree9ac0b00937a59a54d52f5ba98ebf25f4f88a595c
parent15919b89154199f59a60f439e426ced4cd602d2a
bgpd: don't unlock bgp_dest twice

Both install_evpn_route_entry_in_vni_mac() and
install_evpn_route_entry_in_vni_ip() will unlock the bgp_dest when
install_evpn_route_entry_in_vni_common() returns, so there's no need to
unlock the bgp_dest inside the _common function.  Let's let the new
wrappers handle the cleanup of the dest.

Ticket: #3119673

Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
bgpd/bgp_evpn.c