linux_dsm_epyc7002/drivers/infiniband
Parav Pandit 219d2e9dfd RDMA/cma: Simplify rdma_resolve_addr() error flow
Currently dst address is first set and later on cleared on either of the
3 error conditions are met.
However none of the APIs or checks are supposed to refer to the
destination address of the cm_id.
Therefore, set the destination address after necessary checks pass which
simplifies the error flow.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-07-30 20:49:04 -06:00
..
core RDMA/cma: Simplify rdma_resolve_addr() error flow 2018-07-30 20:49:04 -06:00
hw RDMA/hns: Program the tclass and flow label into the hardware 2018-07-30 20:42:44 -06:00
sw RDMA/providers: Fix return value from create_srq callbacks 2018-07-30 20:29:45 -06:00
ulp RDMA/ipoib: Fix check for return code from ib_create_srq 2018-07-30 20:29:45 -06:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-05-24 09:39:25 -06:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00