]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: fix some memory errors, scheduling bugs
authorQuentin Young <qlyoung@cumulusnetworks.com>
Sat, 21 Apr 2018 07:55:44 +0000 (03:55 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 29 May 2018 19:06:16 +0000 (19:06 +0000)
commit92be6487a4001a596eb9dd4a4378fbed95e64bdc
tree498689f5a32e65239f27837d19d26fe3e76a98d7
parent329e35dab8e11298b3d93ae53335063d21492972
zebra: fix some memory errors, scheduling bugs

* Add doc comments explaining hairy bits of thread lifecycle
* Remove t_suicide as it no longer makes sense
* Remove client double-free
* Remove unnecessary THREAD_OFF being used in incorrect pthread context
* Eliminate unnecessary racey access to client's obuf_fifo
* Ensure zserv_process_messages() reschedules itself if it has not
  finished its work

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
zebra/zserv.c
zebra/zserv.h