diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2020-05-20 15:47:12 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2020-09-28 12:40:59 -0400 |
| commit | 1f655680469dc883298348b2bdd4c2ae8bff0fe7 (patch) | |
| tree | ea11c306b4a1b3a1d9642315c58095c7bc2cd4f3 /lib/lib_errors.c | |
| parent | 68671c74390fdb746568413e6d2150cae4c2d4b9 (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
