mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 23:53:28 +00:00
zebra: When deleting nexthop group entries ensure the thread is off
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
05a95ab8ad
commit
9d1fec4c7e
@ -1611,6 +1611,8 @@ void zebra_nhg_free(struct nhg_hash_entry *nhe)
|
|||||||
nhe->nhg.nexthop);
|
nhe->nhg.nexthop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
THREAD_OFF(nhe->timer);
|
||||||
|
|
||||||
if (nhe->refcnt)
|
if (nhe->refcnt)
|
||||||
zlog_debug("nhe_id=%pNG hash refcnt=%d", nhe, nhe->refcnt);
|
zlog_debug("nhe_id=%pNG hash refcnt=%d", nhe, nhe->refcnt);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user