diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-04-06 20:32:42 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-04-14 15:50:49 -0300 |
commit | 0c6949c3d1b284d90473834f2fb865368a12f30a (patch) | |
tree | 8832291f2edf5e06610f85a35965bbe753407af9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f70968f05de4e7c24d839ca0d3e40f17c8024498 (diff) |
RDMA/cm: Fix missing RDMA_CM_EVENT_REJECTED event after receiving REJ message
The cm_reset_to_idle() call before formatting event changed the CM_ID
state from IB_CM_REQ_RCVD to be IB_CM_IDLE. It caused to wrong value of
CM_REJ_MESSAGE_REJECTED field.
The result of that was that rdma_reject() calls in the passive side didn't
generate RDMA_CM_EVENT_REJECTED event in the active side.
Fixes: 81ddb41f876d ("RDMA/cm: Allow ib_send_cm_rej() to be done under lock")
Link: https://lore.kernel.org/r/20200406173242.1465911-1-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions