diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-09-27 12:15:34 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-09-27 12:15:34 -0400 |
| commit | 2fc69f03d2f49fcf34948e82e865cd302ae08da0 (patch) | |
| tree | 8a7d4cd5dc7c4aee567e627593d10fe0fe3f2b39 /zebra/zebra_router.h | |
| parent | 5300176ff82a6ba88e84bbf0eac25a883505b585 (diff) | |
zebra: during shutdown processing, drop dplane results
Don't process dataplane results in zebra during shutdown (after
sigint has been seen). The dplane continues to run in order to
clean up, but zebra main just drops results.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_router.h')
| -rw-r--r-- | zebra/zebra_router.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_router.h b/zebra/zebra_router.h index e50f8a1186..25a7adac11 100644 --- a/zebra/zebra_router.h +++ b/zebra/zebra_router.h @@ -74,6 +74,8 @@ struct zebra_mlag_info { }; struct zebra_router { + atomic_bool in_shutdown; + /* Thread master */ struct thread_master *master; |
