mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 04:04:09 +00:00
Merge pull request #17116 from enkechen-panw/zfix-2
zebra: unlock node only after operation in zebra_free_rnh()
This commit is contained in:
commit
c32bdc2469
@ -220,10 +220,9 @@ void zebra_free_rnh(struct rnh *rnh)
|
||||
if (rern) {
|
||||
rib_dest_t *dest;
|
||||
|
||||
route_unlock_node(rern);
|
||||
|
||||
dest = rib_dest_from_rnode(rern);
|
||||
rnh_list_del(&dest->nht, rnh);
|
||||
route_unlock_node(rern);
|
||||
}
|
||||
}
|
||||
free_state(rnh->vrf_id, rnh->state, rnh->node);
|
||||
|
Loading…
Reference in New Issue
Block a user