diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-11 22:01:25 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-11 22:01:25 (GMT) |
commit | a4b4df279471ec360de11ec86640fd8a3c533487 (patch) | |
tree | 0b6a848428e7fc8eb41023b66e1e91c8b162828c /drivers | |
parent | 5ea8d3759244590defd369828c965101c97b65e1 (diff) | |
parent | 8523c0480979080e8088e40f25459e5b2d19f621 (diff) | |
download | linux-fsl-qoriq-a4b4df279471ec360de11ec86640fd8a3c533487.tar.xz |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
RDMA/cm: Revert association of an RDMA device when binding to loopback
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/core/cma.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index cc9b594..875e34e 100644 --- a/drivers/infiniband/core/cma.c +++ b/drivers/infiniband/core/cma.c @@ -2115,9 +2115,7 @@ int rdma_bind_addr(struct rdma_cm_id *id, struct sockaddr *addr) if (ret) goto err1; - if (cma_loopback_addr(addr)) { - ret = cma_bind_loopback(id_priv); - } else if (!cma_zero_addr(addr)) { + if (!cma_any_addr(addr)) { ret = rdma_translate_ip(addr, &id->route.addr.dev_addr); if (ret) goto err1; |