From ed2df9fe88cc6b2bca5a50192a71919c19ef2f66 Mon Sep 17 00:00:00 2001 From: evgeny Date: Fri, 4 Sep 2026 16:25:21 +0300 Subject: [PATCH] =?UTF-8?q?etcp=5Frouter:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20=D0=BA=D0=BE=D0=BB-=D0=B2=D0=BE=20=D1=83?= =?UTF-8?q?=D0=B7=D0=BB=D0=BE=D0=B2=20=D0=B3=D1=80=D1=83=D0=BF=D0=BF=D1=8B?= =?UTF-8?q?=20=D0=B2=20=D0=BB=D0=BE=D0=B3=20no=20route?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routing_layer/etcp_router.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/routing_layer/etcp_router.c b/src/routing_layer/etcp_router.c index ebac575f..17a6ad09 100644 --- a/src/routing_layer/etcp_router.c +++ b/src/routing_layer/etcp_router.c @@ -966,10 +966,13 @@ static void router_handle_ack(struct UTUN_INSTANCE* inst, struct ETCP_ROUTER_CON static void router_forward_transit(struct UTUN_INSTANCE* inst, struct ll_entry* entry, struct SVC_ROUTE_HDR* hdr) { - struct ETCP_CONN* next = topo_group_find_conn_for_node(topo_groups_find(inst->topo_groups, hdr->group_id), hdr->dst_node_id); + struct TOPO_GROUP* group = topo_groups_find(inst->topo_groups, hdr->group_id); + struct ETCP_CONN* next = topo_group_find_conn_for_node(group, hdr->dst_node_id); if (!next) { - DEBUG_WARN(DEBUG_CATEGORY_ETCPROUTE, "etcp_router: no route to %016llx svc_id=%u, dropping", - (unsigned long long)hdr->dst_node_id, hdr->svc_id); + DEBUG_WARN(DEBUG_CATEGORY_ETCPROUTE, "etcp_router: no route to %016llx svc_id=%u, dropping (group=%016llx nodes=%d)", + (unsigned long long)hdr->dst_node_id, hdr->svc_id, + (unsigned long long)hdr->group_id, + group && group->nodes ? queue_entry_count(group->nodes) : -1); free_entry(entry); return; } struct TRANSIT_QUEUE* tq = transit_queue_find(next, hdr->group_id, hdr->src_node_id, hdr->dst_node_id);