diff options
| author | Parav Pandit <[email protected]> | 2021-01-27 17:00:08 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-02-02 15:10:31 -0400 |
| commit | 131be26750379592f0dd6244b2a90bbb504a10bb (patch) | |
| tree | cad99a1befe84197d0cb914951088522a29580c2 /tools/perf/scripts/python/bin | |
| parent | d286ac1d05210695c312b9018b3aa7c2048e9aca (diff) | |
IB/cm: Avoid a loop when device has 255 ports
When RDMA device has 255 ports, loop iterator i overflows. Due to which
cm_add_one() port iterator loops infinitely. Use core provided port
iterator to avoid the infinite loop.
Fixes: a977049dacde ("[PATCH] IB: Add the kernel CM implementation")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Bloch <[email protected]>
Signed-off-by: Parav Pandit <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions