author | David J. Wilder
<dwilder@us.ibm.com> 2009-10-07 23:03:18 UTC |
committer | Roland Dreier
<rolandd@cisco.com> 2009-10-07 23:03:18 UTC |
parent | 54e05f15ccb510c0fb3b03dfe9186811021fd5ad |
drivers/infiniband/core/addr.c | +1 | -1 |
diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c index 5be1bd4fc7e..bd07803e918 100644 --- a/drivers/infiniband/core/addr.c +++ b/drivers/infiniband/core/addr.c @@ -393,7 +393,7 @@ static int addr_resolve_local(struct sockaddr *src_in, 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;