]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Fix crash when shutdown
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 22 May 2018 00:13:27 +0000 (20:13 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 12 Jun 2018 19:12:48 +0000 (15:12 -0400)
commit0e42e319d53ed3a4ffed4fc074f486974b4a4f7e
tree82411e9e2bf2126e24f4429b57b470d994c696f9
parentc93a3b77e66ae60d618297eadb6319c519a22ee4
bgpd: Fix crash when shutdown

The process of BGP shutdown hard free's memory irrelevant to
the fact that another process may be using that memory still
in route leaking scenario's.

As a temporary fix find the default instance and free it
last.

Ticket: CM-21068
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_main.c