RDMA/cma: Replace net_device pointer with index
authorSean Hefty <sean.hefty@intel.com>
Thu, 19 Nov 2009 20:55:22 +0000 (12:55 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 19 Nov 2009 20:55:22 +0000 (12:55 -0800)
commit6266ed6e4164466177238b11ecb825a3a108a3e4
tree6960dcaeb66aa368b8e856022b8aafb81b255428
parente2e626972e652d18520f84d69fc06cfa307d11ff
RDMA/cma: Replace net_device pointer with index

Provide the device interface when resolving route information to
ensure that the correct outbound device is used.  This will also
simplify processing of sin6_scope_id for IPv6 support.

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

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/addr.c
drivers/infiniband/core/cma.c
include/rdma/ib_addr.h