From 48a849d00a561603f2dbba2f8eddafc39d8b6c4c Mon Sep 17 00:00:00 2001 From: Yongqiang Guo Date: Fri, 12 Dec 2025 15:29:15 +0800 Subject: [PATCH] ubcore: fix route_list when no full match. urma inclusion category: bugfix bugzilla: https://gitee.com/openeuler/release-management/issues/ID3WJX ---------------------------------------------- This patch adds the headers of ubcore module. It's the core module of the UMDK network stack, implementing functionalities such as data plane connection establishment and management. Fixes: c78127c4b6eb ("ubcore: fix query route list by eid pair.") Signed-off-by: Yongqiang Guo --- drivers/ub/urma/ubcore/ubcore_topo_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ub/urma/ubcore/ubcore_topo_info.c b/drivers/ub/urma/ubcore/ubcore_topo_info.c index 20ad3e79ae45..e9f56ff09500 100644 --- a/drivers/ub/urma/ubcore/ubcore_topo_info.c +++ b/drivers/ub/urma/ubcore/ubcore_topo_info.c @@ -418,7 +418,7 @@ static int ubcore_get_route_primary_eid(union ubcore_eid *src_v_eid, bool dst_match = false; for (int i = 0; i < g_ubcore_topo_map->node_num; i++) { - if (num >= UBCORE_MAX_ROUTE_NUM - 1 || i >= IODIE_NUM) { + if (num >= UBCORE_MAX_ROUTE_NUM - 1) { ubcore_log_warn("Finish to query topo map.\n"); return -EINVAL; } -- Gitee