diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2020-05-20 11:26:44 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2020-09-28 12:40:59 -0400 |
| commit | 6fae63d2bab3e5ee9f83458e32f4292165ef6cb6 (patch) | |
| tree | b718bb8611185abe9f61a564bb45f63607056219 /lib/lib_errors.c | |
| parent | 2d8a9c544bd9bdfc6a32910f593ab65fbab2036c (diff) | |
zebra: inc/dec refcount on add/del NHG proto
When we add a proto NHG, increment the refcount, when
we del a proto NHG, decrement the refcount rather than
deleting it explicitly. If the upper level proto is handling
it properly, it should get decremented to zero when we
receive a NHG del.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions
