Merge pull request #17996 from FRRouting/mergify/bp/stable/10.0/pr-17991

zebra: fix evpn svd hash avoid double free (backport #17991)
This commit is contained in:
Russ White 2025-02-04 11:16:20 -05:00 committed by GitHub
commit c28079c9db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1604,7 +1604,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);
}