]> git.puffer.fish Git - mirror/frr.git/commit
zebra: don't close client socket from I/O pthread
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 1 Aug 2018 19:27:13 +0000 (19:27 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 1 Aug 2018 19:41:47 +0000 (19:41 +0000)
commitc022637847cffee5444f893a26dcca0ac6873e54
treee77dc6ccd3011232c3bbd5e2722fe3c9eddf1267
parenta580357a871c862d52a1d4c933edcc694b746848
zebra: don't close client socket from I/O pthread

The client socket value can only be modified by the main thread.
Modifying the client socket from within the client I/O pthread
introduces race conditions.

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