Merge pull request #17991 from chiragshah6/bgp_dev4

zebra: fix evpn svd hash avoid double free
This commit is contained in:
Donatas Abraitis 2025-02-04 14:34:21 +02:00 committed by GitHub
commit 0ee2773149
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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