]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Cleanup ptm memory *after* we tell the sockets to clean up 1277/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 2 Oct 2017 14:47:25 +0000 (10:47 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 2 Oct 2017 15:06:09 +0000 (11:06 -0400)
commitf88bd20c395bd32dd9135f04f37397f0e14e92b3
treee5f2fe73a87506808b34ef0cf81846f5b2897563
parentb8aa37676635e4c283041acdb7de61967117a60b
zebra: Cleanup ptm memory *after* we tell the sockets to clean up

The zebra_ptm_finish() code was being called before the
client_list deletion.  The client_list deletion is
attempting to call the ptm daemon and shut down the connection.
We should not be doing this *after* we shut down memory associated
with it as that we were writing into memory in random spots
in this case.

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