mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 21:10:28 +00:00
Merge pull request #6007 from sarav511/unlck
pimd: moving the route_unlock_node outside debug function
This commit is contained in:
commit
c7fb94afa6
@ -248,13 +248,14 @@ struct rp_info *pim_rp_find_match_group(struct pim_instance *pim,
|
||||
if (PIM_DEBUG_PIM_TRACE) {
|
||||
char buf[PREFIX_STRLEN];
|
||||
|
||||
route_unlock_node(rn);
|
||||
zlog_debug("Lookedup: %p for rp_info: %p(%s) Lock: %d", rn,
|
||||
rp_info,
|
||||
prefix2str(&rp_info->group, buf, sizeof(buf)),
|
||||
rn->lock);
|
||||
}
|
||||
|
||||
route_unlock_node(rn);
|
||||
|
||||
if (!best)
|
||||
return rp_info;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user