diff options
| author | Parav Pandit <parav@mellanox.com> | 2018-07-29 11:53:09 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-30 20:49:04 -0600 |
| commit | 219d2e9dfda9431b808c28d5efc74b404b95b638 (patch) | |
| tree | 140ac9d8d58b1f0f739b8e6ad2c763b01906c3e1 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | RDMA/cma: Initialize resource type in __rdma_create_id() (diff) | |
| download | linux-219d2e9dfda9431b808c28d5efc74b404b95b638.tar.gz linux-219d2e9dfda9431b808c28d5efc74b404b95b638.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
