summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2019-08-06 11:03:48 +0200
committerGitHub <noreply@github.com>2019-08-06 11:03:48 +0200
commit6d8b1331f0a80b9572ca3d413a6f453c4678ff9f (patch)
tree83f18ab72e176a43b5592b46337e01166dd58acc
parent3e39ab23a8363b32b365eac319175a00e4a96357 (diff)
parent272e89030e93e131ba520aa542d7842f69afea18 (diff)
Merge pull request #4785 from mjstapp/fix_notif_queued_flag
zebra: clear route QUEUED flag in async notification handler
-rw-r--r--zebra/zebra_rib.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index f3721c478d..3608b887ee 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -1926,6 +1926,9 @@ static void rib_process_dplane_notify(struct zebra_dplane_ctx *ctx)
goto done;
}
+ /* Ensure we clear the QUEUED flag */
+ UNSET_FLAG(re->status, ROUTE_ENTRY_QUEUED);
+
/* Is this a notification that ... matters? We only really care about
* the route that is currently selected for installation.
*/
@@ -1990,7 +1993,7 @@ static void rib_process_dplane_notify(struct zebra_dplane_ctx *ctx)
dplane_ctx_get_vrf(ctx), dest_str);
/* We expect this to be the selected route, so we want
- * to tell others about this transistion.
+ * to tell others about this transition.
*/
SET_FLAG(re->status, ROUTE_ENTRY_INSTALLED);