diff mbox

Failing to resolve local ipv6 address.

Message ID 1254955759.23471.7.camel@wilder.ibm.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

David J Wilder Oct. 7, 2009, 10:49 p.m. UTC
None
diff mbox

Patch

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;