summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2020-05-20 15:47:12 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2020-09-28 12:40:59 -0400
commit1f655680469dc883298348b2bdd4c2ae8bff0fe7 (patch)
treeea11c306b4a1b3a1d9642315c58095c7bc2cd4f3 /lib/lib_errors.c
parent68671c74390fdb746568413e6d2150cae4c2d4b9 (diff)
zebra: fix refcnt/rib issues in NHG replace/delete
Fix some reference counting issues seen when replacing a NHG and deleting one. For replacement, we should end with the same refcnt on the new one. For delete, its the caller's job to decrement its ref after its done with it. Further, update routes in the rib with the new pointer after replace. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions