mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-26 04:54:44 +00:00
Merge pull request #17130 from FRRouting/mergify/bp/stable/10.1/pr-17116
zebra: unlock node only after operation in zebra_free_rnh() (backport #17116)
This commit is contained in:
commit
ddce313558
@ -220,10 +220,9 @@ void zebra_free_rnh(struct rnh *rnh)
|
|||||||
if (rern) {
|
if (rern) {
|
||||||
rib_dest_t *dest;
|
rib_dest_t *dest;
|
||||||
|
|
||||||
route_unlock_node(rern);
|
|
||||||
|
|
||||||
dest = rib_dest_from_rnode(rern);
|
dest = rib_dest_from_rnode(rern);
|
||||||
rnh_list_del(&dest->nht, rnh);
|
rnh_list_del(&dest->nht, rnh);
|
||||||
|
route_unlock_node(rern);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
free_state(rnh->vrf_id, rnh->state, rnh->node);
|
free_state(rnh->vrf_id, rnh->state, rnh->node);
|
||||||
|
Loading…
Reference in New Issue
Block a user