]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Do not call evpn_overlay_free no matter what 18411/head
authorDonald Sharp <sharpd@nvidia.com>
Wed, 23 Oct 2024 17:16:29 +0000 (13:16 -0400)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Mon, 17 Mar 2025 12:57:24 +0000 (14:57 +0200)
commit518d3fab755d2d0c2cd07c6a67092bd738c060bd
tree7769d7f17e13966bc9be94c84cdab605858f2f5c
parentf741b31f27eb4ccfe146ae87a8c448022249215c
bgpd: Do not call evpn_overlay_free no matter what

bgp_update is a very expensive call.  Calling evpn_overlay_free
even when we have no evpn data to free is not trivial.  Let's
limit the call into this function until we actually have data to
free.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_route.c