From patchwork Wed Oct 7 22:49:19 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: 52392 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 n97Mv3f6019094 for ; Wed, 7 Oct 2009 22:57:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754649AbZJGWt6 (ORCPT ); Wed, 7 Oct 2009 18:49:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755197AbZJGWt6 (ORCPT ); Wed, 7 Oct 2009 18:49:58 -0400 Received: from e8.ny.us.ibm.com ([32.97.182.138]:33928 "EHLO e8.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754649AbZJGWt5 (ORCPT ); Wed, 7 Oct 2009 18:49:57 -0400 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e8.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id n97Mkgww024686 for ; Wed, 7 Oct 2009 18:46:42 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n97MnL68255976 for ; Wed, 7 Oct 2009 18:49:21 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n97MnKW5007617 for ; Wed, 7 Oct 2009 18:49:21 -0400 Received: from [9.65.50.183] (sig-9-65-50-183.mts.ibm.com [9.65.50.183]) by d01av01.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n97MnKUK007541; Wed, 7 Oct 2009 18:49:20 -0400 Subject: Failing to resolve local ipv6 address. From: "David J. Wilder" To: sean.hefty@intel.com, linux-rdma@vger.kernel.org, pradeep@us.ibm.com Date: Wed, 07 Oct 2009 15:49:19 -0700 Message-Id: <1254955759.23471.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 -Naurp ofa_kernel-1.5.orig/drivers/infiniband/core/addr.c ofa_kernel-1.5/drivers/infiniband/core/addr.c --- ofa_kernel-1.5.orig/drivers/infiniband/core/addr.c 2009-09-25 12:19:44.000000000 -0700 +++ ofa_kernel-1.5/drivers/infiniband/core/addr.c 2009-09-25 12:22:23.000000000 -0700 @@ -393,7 +393,7 @@ static int addr_resolve_local(struct soc for_each_netdev(&init_net, dev) if (ipv6_chk_addr(&init_net, - &((struct sockaddr_in6 *) addr)->sin6_addr, + &((struct sockaddr_in6 *) dst_in)->sin6_addr, dev, 1)) break;