Commit a81ed02ef6 for frr

commit a81ed02ef653f6d959e71a900c7b1f11aa4c9a42
Author: Donald Sharp <sharpd@nvidia.com>
Date:   Thu Sep 10 14:59:55 2026 -0400

    zebra: Add type to rib_update_ctx_init

    Add type to `struct rib_update_ctx` and pass it through
    in the one place it is used.

    Signed-off-by: Donald Sharp <sharpd@nvidia.com>

diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 589affd660..99f87e751d 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -4858,10 +4858,11 @@ void rib_update_handle_vrf_all(enum rib_update_event event, int rtype)
 struct rib_update_ctx {
 	enum rib_update_event event;
 	vrf_id_t vrf_id;
+	int type;
 };

-static struct rib_update_ctx *rib_update_ctx_init(vrf_id_t vrf_id,
-						  enum rib_update_event event)
+static struct rib_update_ctx *rib_update_ctx_init(vrf_id_t vrf_id, enum rib_update_event event,
+						  int type)
 {
 	struct rib_update_ctx *ctx;

@@ -4869,6 +4870,7 @@ static struct rib_update_ctx *rib_update_ctx_init(vrf_id_t vrf_id,

 	ctx->event = event;
 	ctx->vrf_id = vrf_id;
+	ctx->type = type;

 	return ctx;
 }
@@ -4884,7 +4886,7 @@ static void rib_update_handler(struct event *event)

 	ctx = EVENT_ARG(event);

-	rib_update_handle_vrf_all(ctx->event, ZEBRA_ROUTE_ALL);
+	rib_update_handle_vrf_all(ctx->event, ctx->type);

 	rib_update_ctx_fini(&ctx);
 }
@@ -4922,7 +4924,7 @@ void rib_update(enum rib_update_event event)
 	if (zebra_router_in_shutdown())
 		return;

-	ctx = rib_update_ctx_init(0, event);
+	ctx = rib_update_ctx_init(0, event, ZEBRA_ROUTE_ALL);

 	event_add_event(zrouter.master, rib_update_handler, ctx, 0,
 			&t_rib_update_threads[event]);