]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: fix race during shutdown
authorMark Stapp <mjs@labn.net>
Tue, 4 Apr 2023 20:37:38 +0000 (16:37 -0400)
committerMark Stapp <mjs@labn.net>
Tue, 4 Apr 2023 20:37:38 +0000 (16:37 -0400)
commit38a2e2cb263f323f44eef4824202278edc9ca775
tree2d48c906468150938b4559074c77d53ef3dca302
parent117bc6ba2b82c71de35934fdc317cd36bdea233e
zebra: fix race during shutdown

During shutdown, the main pthread stops the dplane pthread
before exiting. Don't try to clean up any events scheduled
to the dplane pthread at that point - just let the thread
exit and clean up.

Signed-off-by: Mark Stapp <mjs@labn.net>
zebra/zebra_dplane.c