From patchwork Wed Dec 9 00:14:18 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yevgeny Kliteynik X-Patchwork-Id: 65835 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB9062qJ018197 for ; Wed, 9 Dec 2009 00:06:02 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966947AbZLIAFl (ORCPT ); Tue, 8 Dec 2009 19:05:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S966948AbZLIAFl (ORCPT ); Tue, 8 Dec 2009 19:05:41 -0500 Received: from mail.mellanox.co.il ([194.90.237.43]:58127 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S966947AbZLIAFk (ORCPT ); Tue, 8 Dec 2009 19:05:40 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from kliteyn@dev.mellanox.co.il) with SMTP; 9 Dec 2009 02:14:39 +0200 Received: from [10.4.1.29] ([10.4.1.29]) by mtlexch01.mtl.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 9 Dec 2009 02:05:42 +0200 Message-ID: <4B1EEBDA.5070501@dev.mellanox.co.il> Date: Wed, 09 Dec 2009 02:14:18 +0200 From: Yevgeny Kliteynik Reply-To: kliteyn@dev.mellanox.co.il User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: Sasha Khapyorsky CC: Linux RDMA Subject: [PATCH] opensm/libvendor//osm_vendor_ibumad_sa.c: uninitialized fields X-TM-AS-Product-Ver: SMEX-8.0.0.1181-6.000.1038-17058.003 X-TM-AS-Result: No--4.985600-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/opensm/libvendor/osm_vendor_ibumad_sa.c b/opensm/libvendor/osm_vendor_ibumad_sa.c index e05a5ef..78f2bce 100644 --- a/opensm/libvendor/osm_vendor_ibumad_sa.c +++ b/opensm/libvendor/osm_vendor_ibumad_sa.c @@ -241,6 +241,8 @@ osmv_bind_sa(IN osm_vendor_t * const p_vend, bind_info.is_report_processor = FALSE; bind_info.send_q_size = OSM_SM_DEFAULT_QP1_RCV_SIZE; bind_info.recv_q_size = OSM_SM_DEFAULT_QP1_SEND_SIZE; + bind_info.timeout = OSM_DEFAULT_TRANS_TIMEOUT_MILLISEC; + bind_info.retries = OSM_DEFAULT_RETRY_COUNT; /* allocate the new sa bind info */ p_sa_bind_info =