]> git.proxmox.com Git - mirror_frr.git/commit
ospf6d: fix ospf6d crash during sigterm/shutdown
authorChirag Shah <chirag@cumulusnetworks.com>
Wed, 4 Oct 2017 21:31:35 +0000 (14:31 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Fri, 6 Oct 2017 17:01:46 +0000 (10:01 -0700)
commitdd2395e1c63ff37ec82143e1a8d111e564c7c65e
tree1eed37ab35c93071fbacf5620f2ff94c065615bb
parent3782fb37b1c480f2a1c3811fb703bdd5981ca60a
ospf6d: fix ospf6d crash during sigterm/shutdown

During signterm (shutdown) ospf6_clean calls route_remove
for brouter_table, during route_remove brouter_table remove
hook function is invoked which in turns calls router_remove
is any of the LSA has max age or cost is infinity,
which leads to stack corruption trying to delete same
route node.
Similar to 'no router ospf6' or 'no area ..' command
where lsdb is cleanedup then brouter route table
clean up is called.

Clean some of route trace to have route related fields.

Ticket:CM-17932

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospf6d/ospf6_main.c
ospf6d/ospf6_route.c