summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2025-02-04 14:34:21 +0200
committerGitHub <noreply@github.com>2025-02-04 14:34:21 +0200
commit0ee27731493a3bd5f0a17d5e3236e304a82daafc (patch)
tree582cb6b05d156ae4b72b669aa25ed048401b7d74
parentf9e11d69749bde5eac85297f29c8b577d021f1db (diff)
parent1d4f5b9b19588d77d3eaf06440c26a8c974831a3 (diff)
Merge pull request #17991 from chiragshah6/bgp_dev4
zebra: fix evpn svd hash avoid double free
-rw-r--r--zebra/zebra_vxlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c
index c60eeab946..04585f6312 100644
--- a/zebra/zebra_vxlan.c
+++ b/zebra/zebra_vxlan.c
@@ -1584,7 +1584,7 @@ static void svd_nh_del_terminate(void *ptr)
struct zebra_neigh *n = ptr;
n->refcnt = 0;
- svd_nh_del(n);
+ XFREE(MTYPE_L3NEIGH, n);
}