RDMA/cma: Restrict AF_IB loopback to binding to IB devices only
authorSean Hefty <sean.hefty@intel.com>
Wed, 29 May 2013 17:09:15 +0000 (10:09 -0700)
committerRoland Dreier <roland@purestorage.com>
Thu, 20 Jun 2013 20:08:04 +0000 (13:08 -0700)
commitb0569e40753aa4f742cfd792447a093ab7937563
tree2e7c67e3f6a10845646dd27af55f0bf7a58a2e8b
parentf4753834b5d06cae9a1d5453c96760571876a014
RDMA/cma: Restrict AF_IB loopback to binding to IB devices only

If a user specifies AF_IB as the source address for a loopback
connection, limit the resolution to IB devices only.

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