diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-10-03 11:49:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-03 11:49:07 -0400 |
| commit | a8100f512a25c58fa6e82a0876bbb8b6f9eea9fd (patch) | |
| tree | 23745117212d5a8ef41e529c20b074cfbc6c1281 /zebra/main.c | |
| parent | 6d7b7e42570d81eb22fb05918ea4066321df005b (diff) | |
| parent | 2fc69f03d2f49fcf34948e82e865cd302ae08da0 (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.c | 3 |
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(); |
