From patchwork Wed Nov 11 17:34:51 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David J Wilder X-Patchwork-Id: 59398 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 nABHY3mO004440 for ; Wed, 11 Nov 2009 17:35:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758356AbZKKRe5 (ORCPT ); Wed, 11 Nov 2009 12:34:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758357AbZKKRe5 (ORCPT ); Wed, 11 Nov 2009 12:34:57 -0500 Received: from e34.co.us.ibm.com ([32.97.110.152]:52314 "EHLO e34.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758355AbZKKRe4 (ORCPT ); Wed, 11 Nov 2009 12:34:56 -0500 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e34.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id nABHTv7B029803 for ; Wed, 11 Nov 2009 10:29:57 -0700 Received: from d03av05.boulder.ibm.com (d03av05.boulder.ibm.com [9.17.195.85]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id nABHYqOv095064 for ; Wed, 11 Nov 2009 10:34:55 -0700 Received: from d03av05.boulder.ibm.com (loopback [127.0.0.1]) by d03av05.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id nABHYqgb018352 for ; Wed, 11 Nov 2009 10:34:52 -0700 Received: from [9.65.30.13] (sig-9-65-30-13.mts.ibm.com [9.65.30.13]) by d03av05.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id nABHYqm0018339 for ; Wed, 11 Nov 2009 10:34:52 -0700 Subject: [Patch] Init ipoib_neigh.dgid From: "David J. Wilder" To: linux-rdma@vger.kernel.org Date: Wed, 11 Nov 2009 09:34:51 -0800 Message-Id: <1257960891.14154.7.camel@wilder.ibm.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-8.el5_2.2) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c index 2bf5116..25ef50b 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_main.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c @@ -884,6 +884,7 @@ struct ipoib_neigh *ipoib_neigh_alloc(struct neighbour *neighbour, neigh->neighbour = neighbour; neigh->dev = dev; + memset(&neigh->dgid.raw, 0, sizeof(union ib_gid)); *to_ipoib_neigh(neighbour) = neigh; skb_queue_head_init(&neigh->queue); ipoib_cm_set(neigh, NULL);