From: Donald Sharp Date: Sat, 9 Feb 2019 15:45:42 +0000 (-0500) Subject: zebra: Unset old_re as queued. X-Git-Tag: 7.1_pulled~129^2~15 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=9ef0c6ba876de49751fdd0ef8069adb3e8ef03ec;p=mirror%2Ffrr.git zebra: Unset old_re as queued. When switching routes from one route type to another actually unset the old route as enqueued. Signed-off-by: Donald Sharp --- diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 5fa51ada45..77cb38855d 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -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) {