mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 12:49:18 +00:00
zebra: Just uninstall NHE when refcnt hits zero
Just going to uninstall the NHE when refcnt hits zero for now. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
f862383fc9
commit
cb50cbc96e
@ -605,7 +605,8 @@ void zebra_nhg_decrement_ref(struct nhg_hash_entry *nhe)
|
|||||||
nhe->refcnt--;
|
nhe->refcnt--;
|
||||||
|
|
||||||
if (!nhe->is_kernel_nh && nhe->refcnt <= 0) {
|
if (!nhe->is_kernel_nh && nhe->refcnt <= 0) {
|
||||||
zebra_nhg_uninstall_release(nhe);
|
zebra_nhg_uninstall_kernel(nhe);
|
||||||
|
// zebra_nhg_release(nhe);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user