From patchwork Mon Nov 16 17:36:04 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: 60457 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 nAGHaBFM010979 for ; Mon, 16 Nov 2009 17:36:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751033AbZKPRgE (ORCPT ); Mon, 16 Nov 2009 12:36:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751360AbZKPRgE (ORCPT ); Mon, 16 Nov 2009 12:36:04 -0500 Received: from e9.ny.us.ibm.com ([32.97.182.139]:46565 "EHLO e9.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751033AbZKPRgC (ORCPT ); Mon, 16 Nov 2009 12:36:02 -0500 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e9.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id nAGHUrmd025078 for ; Mon, 16 Nov 2009 12:30:53 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id nAGHa7Ug770204 for ; Mon, 16 Nov 2009 12:36:07 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id nAGHa60V025476 for ; Mon, 16 Nov 2009 12:36:06 -0500 Received: from [9.65.28.192] (sig-9-65-28-192.mts.ibm.com [9.65.28.192]) by d01av04.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id nAGHa58G025306; Mon, 16 Nov 2009 12:36:05 -0500 Subject: [PATCH] Init ipoib_neigh.dgid From: "David J. Wilder" To: rdreir@cisco.com, eli@mellanox.co.il, linux-rdma@vger.kernel.org Date: Mon, 16 Nov 2009 09:36:04 -0800 Message-Id: <1258392964.29051.5.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);