linux/drivers/infiniband
Parav Pandit 608bc44634 RDMA/cma: Use the right net namespace for the rdma_cm_id
The net namespace is set in addr during create_rdma_id(),
cma_resolve_iboe_route() should use that instead of the
init namespace.

The original code was added in commit fa20105e09 ("IB/cma: Add support
for network namespaces"), but this path wasn't in use back then.

This patch updates the code to use right namespace, as preparation
for improving namespace support.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-01-10 22:00:33 -07:00
..
core RDMA/cma: Use the right net namespace for the rdma_cm_id 2018-01-10 22:00:33 -07:00
hw IB/mlx5: remove redundant assignment of mdev 2018-01-10 16:52:52 -05:00
sw RDMA/rxe: Fix a race condition related to the QP error state 2018-01-10 16:57:27 -05:00
ulp Merge branch 'bart-srpt-for-next' into k.o/wip/dl-for-next 2018-01-08 16:06:20 -05:00
Kconfig IB: INFINIBAND should depend on HAS_DMA 2017-11-30 16:01:28 -07:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00