From 021561ce64cbdf64f2fadb1cf0d16b0cd1307963 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Mon, 18 Aug 2014 15:04:28 +0200 Subject: [PATCH] Loopback was not correctly used in fat tree clusters. --- src/surf/surf_routing_cluster_fat_tree.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/surf/surf_routing_cluster_fat_tree.cpp b/src/surf/surf_routing_cluster_fat_tree.cpp index 2e636fc2ef..2421ea5496 100644 --- a/src/surf/surf_routing_cluster_fat_tree.cpp +++ b/src/surf/surf_routing_cluster_fat_tree.cpp @@ -85,6 +85,7 @@ if (dst->getRcType() == SURF_NETWORK_ELEMENT_ROUTER || src->getRcType() == SURF_ if(latency) { *latency += source->loopback->getLatency(); } + return; } currentNode = source; -- 2.20.1