]> git.proxmox.com Git - mirror_frr.git/commit - lib/routemap.c
lib, bgpd, ospf6d, ospfd, pimd: Allow finish to cleanup a bit more
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 3 Aug 2018 12:18:11 +0000 (08:18 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 3 Aug 2018 12:22:45 +0000 (08:22 -0400)
commit8619629ada22ed19eb95d491799cc03a13d6d8aa
tree856dd0a838a555b2a909dfe939f91d8852df805c
parent391b8b08a5699c14fed37b179dc19ba6ad3420d0
lib, bgpd, ospf6d, ospfd, pimd: Allow finish to cleanup a bit more

When calling route_map_finish, every place that we do we must
first set the deletion event to NULL, or we will create an infinite
loop, if we are using the delayed route-map application code.
As such we might as well just make the route_map_finish code
do this work, as that there is really no viable alternative here
and route_map_finish should only be called on shutdown.

This fixes an infinite loop in zebra on shutdown when there
are route-maps.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_routemap.c
lib/routemap.c
lib/routemap.h
ospf6d/ospf6_asbr.c
ospfd/ospfd.c
pimd/pim_routemap.c