summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2023-04-11 23:39:54 -0500
committerGitHub <noreply@github.com>2023-04-11 23:39:54 -0500
commit1a5e2b38bbd2b1356817762ceddbfc2fa7fde31d (patch)
treed003addfeee530af567a83858e60d7411a0d5a80
parent8a2217b2f404c578e04804bf19fb45277ecc1381 (diff)
parentbf594c082185cba326b59271b4f54d6b5e34ffa6 (diff)
Merge pull request #13265 from mjstapp/fix_dplane_shut_race_8_5
zebra: fix race during shutdown
-rw-r--r--zebra/zebra_dplane.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c
index ef4cef65ca..6341358afa 100644
--- a/zebra/zebra_dplane.c
+++ b/zebra/zebra_dplane.c
@@ -6866,10 +6866,6 @@ void zebra_dplane_shutdown(void)
zdplane_info.dg_run = false;
- if (zdplane_info.dg_t_update)
- thread_cancel_async(zdplane_info.dg_t_update->master,
- &zdplane_info.dg_t_update, NULL);
-
frr_pthread_stop(zdplane_info.dg_pthread, NULL);
/* Destroy pthread */