]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_rib.c
zebra: remove refcnt from the route_entry structure
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 31 Aug 2017 23:36:14 +0000 (20:36 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 1 Sep 2017 00:17:11 +0000 (21:17 -0300)
commitcc54cfee3a67aa0192c62736cd567b562bb5597b
tree35ec303f46d8e65a8e6a11703052c2747b2c7981
parentbe65e7dcde092618d59d5babb643e8e7a4c0239b
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>
zebra/rib.h
zebra/zebra_rib.c
zebra/zebra_vty.c