]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Unset old_re as queued.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 9 Feb 2019 15:45:42 +0000 (10:45 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 27 Mar 2019 20:19:28 +0000 (16:19 -0400)
When switching routes from one route type to another actually
unset the old route as enqueued.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_rib.c

index 5fa51ada45ddec4393bdfa1a8b1df582fc0af630..77cb38855dc9730877c5dd1fecb6bad22d7c45ec 100644 (file)
@@ -1932,7 +1932,7 @@ static void rib_process_result(struct zebra_dplane_ctx *ctx)
                                           dplane_ctx_get_vrf(ctx),
                                           dest_str, old_re);
                } else
-                       UNSET_FLAG(re->status, ROUTE_ENTRY_QUEUED);
+                       UNSET_FLAG(old_re->status, ROUTE_ENTRY_QUEUED);
        }
 
        switch (op) {