]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: improve memory cleanup during shutdown
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 23 Nov 2023 23:21:31 +0000 (20:21 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 1 Dec 2023 11:53:28 +0000 (08:53 -0300)
commit37f861f1dbeda410c52d3b5f9f685e32a177211c
treee970b01ae98e34512c66db1f45ae1b67e06a625b
parent498505c25aafce1cada7c2761462425f7784703b
ospfd: improve memory cleanup during shutdown

* On ospf_terminate(), proceed to clear the ospfd global variables even
  when no OSPF instance is configured
* Remove double call to route_map_finish()
* Call ospf_opaque_term() to clear the opaque LSA infrastructure
* Clear the `OspfRI.area_info` and `om->ospf` global lists.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ospfd/ospf_ri.c
ospfd/ospfd.c