summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2025-02-04 10:15:34 -0600
committerGitHub <noreply@github.com>2025-02-04 10:15:34 -0600
commit0e695f7083bcd979c24504eade6f93e965eeb845 (patch)
treea401730e1e0c4c31e19bed8af618889fab3e57e7
parent3addb29807e092d76c2ad07f7b7f9e3e62e04b0d (diff)
parenta3b2aa38260206f5709d3f9ae8fb0d877ed28cae (diff)
Merge pull request #17994 from FRRouting/mergify/bp/stable/10.2/pr-17991
zebra: fix evpn svd hash avoid double free (backport #17991)
-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 f1ae42e320..c17b0b20d9 100644
--- a/zebra/zebra_vxlan.c
+++ b/zebra/zebra_vxlan.c
@@ -1606,7 +1606,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);
}