RDMA/cma: Only listen on IB devices when using AF_IB
authorSean Hefty <sean.hefty@intel.com>
Wed, 29 May 2013 17:09:24 +0000 (10:09 -0700)
committerRoland Dreier <roland@purestorage.com>
Fri, 21 Jun 2013 06:35:38 +0000 (23:35 -0700)
commit94d0c939416480066d4e4d69e0d3c217bc083cea
tree2ae7d0b64d01c69778fa8dca4f0c851d55784393
parent5c438135adf90b33cb00e5351becf1e557bbdd9d
RDMA/cma: Only listen on IB devices when using AF_IB

If an rdma_cm_id is bound to AF_IB, with a wild card address, only
listen on IB devices.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/cma.c