]> git.puffer.fish Git - mirror/frr.git/commit
zebra: fix session stats data race, memory leak
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 23 Apr 2018 20:18:46 +0000 (16:18 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 29 May 2018 19:06:16 +0000 (19:06 +0000)
commit52f6868dd4605ded4f31822c330865c25d478be2
tree18e7bb15b83ee07b1d11cf16595ad075da527fc6
parent92be6487a4001a596eb9dd4a4378fbed95e64bdc
zebra: fix session stats data race, memory leak

* Time counters need to use atomic access between threads
* After a client disconnects, we properly kill the thread but need to
  free its frr_pthread as well

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