diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-08-31 20:36:14 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-08-31 21:17:11 -0300 |
| commit | cc54cfee3a67aa0192c62736cd567b562bb5597b (patch) | |
| tree | 35ec303f46d8e65a8e6a11703052c2747b2c7981 /zebra/rib.h | |
| parent | be65e7dcde092618d59d5babb643e8e7a4c0239b (diff) | |
zebra: remove refcnt from the route_entry structure
This reference counter was introduced in 2001, apparently to solve a
problem with connected routes being added/removed multiple times. The RIB
code changed a lot since then, and giving the current callers of rib_add()
and rib_delete() it's safe to assume that we don't need this anymore.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/rib.h')
| -rw-r--r-- | zebra/rib.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/zebra/rib.h b/zebra/rib.h index 9b1ce23b08..4cc69377d8 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -45,9 +45,6 @@ struct route_entry { /* Nexthop structure */ struct nexthop *nexthop; - /* Refrence count. */ - unsigned long refcnt; - /* Tag */ route_tag_t tag; |
