diff options
| author | Parav Pandit <[email protected]> | 2018-09-05 12:54:16 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-09-12 15:48:08 -0600 |
| commit | caf1e3ae9fa648d6dd38468736868d6867cab273 (patch) | |
| tree | e2f7a24715003764733b0d82f6e437f5fd0f3cbe /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 99ed748e878a99c6c7b87bbec063eefd9e47cb42 (diff) | |
RDMA/core Introduce and use rdma_find_ndev_for_src_ip_rcu
This fixes two issues:
1. When address family is other than IPv4 or v6, rdma_translate_ip()
returns success which is incorrect.
2. When address familty is AF_INET6, and if the source address is not
found, it returns success, which is also incorrect.
Therefore, introduce and use rdma_find_ndev_for_src_ip_rcu() helper
function which returns correct success or error status and is also useful
for future code refactor in addr_resolve().
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Daniel Jurgens <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions