IB/addr: Fix IPv6 routing lookup
authorSean Hefty <sean.hefty@intel.com>
Fri, 20 Nov 2009 00:46:25 +0000 (16:46 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 20 Nov 2009 00:46:25 +0000 (16:46 -0800)
commitd14714df61681cfecf945a58436edf197327e87f
tree1dc232e98f17c531d75b0646ea519264e49a63b1
parent923c100ef019bf15fb89b6fa3d3ad0485d25d59b
IB/addr: Fix IPv6 routing lookup

Include link scope as part of address resolution.  Combine local
and remote address resolution into a single, simpler code path.
Fix error checking in the IPv6 routing lookups.

Based on work from:
David Wilder <dwilder@us.ibm.com>
Jason Gunthorpe <jgunthorpe@obsidianresearch.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
[ Fix up cma_check_linklocal() for !IPV6 case.  - Roland ]

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/addr.c
drivers/infiniband/core/cma.c