]> git.proxmox.com Git - mirror_frr.git/commit - lib/routemap.c
*: Remove route_map_object_t from the system
authorDonald Sharp <sharpd@nvidia.com>
Sat, 14 Nov 2020 00:35:20 +0000 (19:35 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Sat, 14 Nov 2020 00:35:20 +0000 (19:35 -0500)
commit1782514fb957d86c0e2510f2e76651345c5c9fb1
treed4282946603ca67c78ee17ff03aa7cf890e577bd
parent15675d025dc024733a532e1a9ad19c59df4ba73d
*: Remove route_map_object_t from the system

The route_map_object_t was being used to track what protocol we were
being called against.  But each protocol was only ever calling itself.
So we had a variable that was only ever being passed in from route_map_apply
that had to be carried against and everyone was testing if that variable
was for their own stack.

Clean up this route_map_object_t from the entire system.  We should
speed some stuff up.  Yes I know not a bunch but this will add up.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
23 files changed:
bgpd/bgp_attr.c
bgpd/bgp_conditional_adv.c
bgpd/bgp_evpn.c
bgpd/bgp_mplsvpn.c
bgpd/bgp_route.c
bgpd/bgp_routemap.c
bgpd/bgp_rpki.c
bgpd/bgp_updgrp_adv.c
bgpd/bgp_zebra.c
bgpd/rfapi/vnc_export_bgp.c
bgpd/rfapi/vnc_import_bgp.c
isisd/isis_redist.c
isisd/isis_routemap.c
lib/routemap.c
lib/routemap.h
ospf6d/ospf6_asbr.c
ospfd/ospf_routemap.c
ospfd/ospf_zebra.c
ripd/rip_routemap.c
ripd/ripd.c
ripngd/ripng_routemap.c
ripngd/ripngd.c
zebra/zebra_routemap.c