mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 04:50:29 +00:00
Fix reference counts for the nexthop cache entries.
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
This commit is contained in:
parent
65740e1baf
commit
7898cb4f5e
@ -279,10 +279,13 @@ bgp_parse_nexthop_update (void)
|
|||||||
prefix2str(&p, buf, INET6_ADDRSTRLEN);
|
prefix2str(&p, buf, INET6_ADDRSTRLEN);
|
||||||
zlog_debug("parse nexthop update(%s): rn not found", buf);
|
zlog_debug("parse nexthop update(%s): rn not found", buf);
|
||||||
}
|
}
|
||||||
|
if (rn)
|
||||||
|
bgp_unlock_node (rn);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
bnc = rn->info;
|
bnc = rn->info;
|
||||||
|
bgp_unlock_node (rn);
|
||||||
bnc->last_update = bgp_clock();
|
bnc->last_update = bgp_clock();
|
||||||
bnc->change_flags = 0;
|
bnc->change_flags = 0;
|
||||||
metric = stream_getl (s);
|
metric = stream_getl (s);
|
||||||
|
Loading…
Reference in New Issue
Block a user