mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 10:37:29 +00:00
zebra: clear route QUEUED flag in async notification handler
Ensure that the route-entry QUEUED flag is cleared in the async notification path, as it is in the normal results processing code path. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
daeca91f7c
commit
272e89030e
@ -1926,6 +1926,9 @@ static void rib_process_dplane_notify(struct zebra_dplane_ctx *ctx)
|
|||||||
goto done;
|
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
|
/* Is this a notification that ... matters? We only really care about
|
||||||
* the route that is currently selected for installation.
|
* 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);
|
dplane_ctx_get_vrf(ctx), dest_str);
|
||||||
|
|
||||||
/* We expect this to be the selected route, so we want
|
/* 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);
|
SET_FLAG(re->status, ROUTE_ENTRY_INSTALLED);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user