commit | 66c74d746db127152fadb33f75b2a8ffa4a02b27 | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Tue Jan 09 15:58:56 2018 +0200 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Mon Jan 22 11:39:50 2018 -0700 |
tree | 966e903e03a9ab33f87d59abdaed88331b73c793 | |
parent | 2493a57bc10f4f67d241711b058e42c0b0f1b31a [diff] |
RDMA/cma: Update cma_validate_port to honor net namespace cma_validate_port uses rdma_dev_addr to validate the port of the cm_id. It needs to honor the net namespace which is setup during cm_id creation when finding netdevice. 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>