From patchwork Wed Apr 21 11:22:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Line.Holen@Sun.COM X-Patchwork-Id: 93850 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3LBHpB2032185 for ; Wed, 21 Apr 2010 11:22:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752264Ab0DULWX (ORCPT ); Wed, 21 Apr 2010 07:22:23 -0400 Received: from gmp-eb-inf-1.sun.com ([192.18.6.21]:40753 "EHLO gmp-eb-inf-1.sun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751701Ab0DULWX (ORCPT ); Wed, 21 Apr 2010 07:22:23 -0400 Received: from fe-emea-09.sun.com (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged)) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o3LBMLLI020185 for ; Wed, 21 Apr 2010 11:22:21 GMT MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <0L1800M004P0BU00@fe-emea-09.sun.com> for linux-rdma@vger.kernel.org; Wed, 21 Apr 2010 12:22:06 +0100 (BST) Received: from [129.159.138.95] ([unknown] [129.159.138.95]) by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <0L18007HF4WQM530@fe-emea-09.sun.com>; Wed, 21 Apr 2010 12:22:03 +0100 (BST) Date: Wed, 21 Apr 2010 13:22:02 +0200 From: Line Holen Subject: [PATCH] opensm/osm_sa_path_record.c: Lower max number of hops allowed To: sashak@voltaire.com Cc: linux-rdma@vger.kernel.org Message-id: <4BCEDFDA.7000500@Sun.COM> User-Agent: Thunderbird 2.0.0.23 (X11/20090910) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 21 Apr 2010 11:22:25 +0000 (UTC) diff --git a/opensm/opensm/osm_sa_path_record.c b/opensm/opensm/osm_sa_path_record.c index 62102f4..9f508db 100644 --- a/opensm/opensm/osm_sa_path_record.c +++ b/opensm/opensm/osm_sa_path_record.c @@ -70,7 +70,7 @@ #include #include -#define MAX_HOPS 128 +#define MAX_HOPS 64 typedef struct osm_pr_item { cl_list_item_t list_item;