]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Use built in list handler for route entries now
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 2 May 2019 20:57:03 +0000 (16:57 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 2 May 2019 21:41:35 +0000 (17:41 -0400)
commit045207e27cef9da81672f2906be9067e4a880568
tree2d96c506ee683a4cb73cd8efbb15fe7b283b01df
parent66355cf9eb378868a2357bb807700c607537309d
zebra: Use built in list handler for route entries now

The route entry code was using a custom linked list to handle
route entries.  Remove and replace with the new lib link list
code.  This reduces the size of the route entry by a further
8 bytes.

Observant people will notice that the current linked list
implementation is singly linked, while the Route Entry
is doubly linked.  I am not terribly concerned about this
change as that 1) we do not see a large number of route
entries per prefix( say 2 maybe 3 items ) and route entries
do not come and go that often.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rib.h
zebra/zebra_rib.c