]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Fix shutdown order.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 19 Oct 2016 17:44:38 +0000 (13:44 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 20 Oct 2016 02:28:45 +0000 (22:28 -0400)
commit7b8def580a061c7e454db83b85e8453d13d65c78
tree70233f6c51015b010e1a0ed1040f268f52905235
parent734b349e15d05fd7722a7b2dd5a5e52c9efe85cb
bgpd: Fix shutdown order.

When shutting down bgp we were freeing the ecommunity hash
before we unintern'ed everything in it.

This is fallout from:
289d250 bgpd, lib: memory cleanups for valgrind, plus debug changes

Basically we started free'ing data we've never freed before
which caused us to access a hash that had already been freed.

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