mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 14:31:51 +00:00
Merge pull request #17991 from chiragshah6/bgp_dev4
zebra: fix evpn svd hash avoid double free
This commit is contained in:
commit
0ee2773149
@ -1584,7 +1584,7 @@ static void svd_nh_del_terminate(void *ptr)
|
|||||||
struct zebra_neigh *n = ptr;
|
struct zebra_neigh *n = ptr;
|
||||||
|
|
||||||
n->refcnt = 0;
|
n->refcnt = 0;
|
||||||
svd_nh_del(n);
|
XFREE(MTYPE_L3NEIGH, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user