diff options
| author | YueHaibing <[email protected]> | 2018-09-19 20:28:38 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-09-19 10:12:44 -0600 |
| commit | 0965cc953a235196b8d6ef0cba45ecb5c355194f (patch) | |
| tree | d2b45ba1edf001b7b93aae312d60bf0b1098d109 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 802fa45cd320de319e86c93bca72abec028ba059 (diff) | |
RDMA/core: Properly return the error code of rdma_set_src_addr_rcu
rdma_set_src_addr_rcu should check copy_src_l2_addr fails, rather than
always return 0. Also copy_src_l2_addr should return 'ret' as its return
value when rdma_translate_ip fails.
Fixes: c31d4b2ddf07 ("RDMA/core: Protect against changing dst->dev during destination resolve")
Signed-off-by: YueHaibing <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions