summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-10-03 11:49:07 -0400
committerGitHub <noreply@github.com>2019-10-03 11:49:07 -0400
commita8100f512a25c58fa6e82a0876bbb8b6f9eea9fd (patch)
tree23745117212d5a8ef41e529c20b074cfbc6c1281 /zebra/main.c
parent6d7b7e42570d81eb22fb05918ea4066321df005b (diff)
parent2fc69f03d2f49fcf34948e82e865cd302ae08da0 (diff)
Merge pull request #5079 from mjstapp/fix_dplane_drop_at_shut
zebra: during shutdown processing, drop dplane results
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c
index 99607c0d78..f0225ac5e6 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -142,6 +142,9 @@ static void sigint(void)
zlog_notice("Terminating on signal");
+ atomic_store_explicit(&zrouter.in_shutdown, true,
+ memory_order_relaxed);
+
frr_early_fini();
zebra_dplane_pre_finish();