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
This commit is contained in:
commit
a4b4df2794
@ -2115,9 +2115,7 @@ int rdma_bind_addr(struct rdma_cm_id *id, struct sockaddr *addr)
|
|||||||
if (ret)
|
if (ret)
|
||||||
goto err1;
|
goto err1;
|
||||||
|
|
||||||
if (cma_loopback_addr(addr)) {
|
if (!cma_any_addr(addr)) {
|
||||||
ret = cma_bind_loopback(id_priv);
|
|
||||||
} else if (!cma_zero_addr(addr)) {
|
|
||||||
ret = rdma_translate_ip(addr, &id->route.addr.dev_addr);
|
ret = rdma_translate_ip(addr, &id->route.addr.dev_addr);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err1;
|
goto err1;
|
||||||
|
Loading…
Reference in New Issue
Block a user