diff options
| author | Bart Van Assche <[email protected]> | 2018-01-16 16:14:13 -0800 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2018-01-18 14:49:26 -0500 |
| commit | db7683d7deb25d6edc9c59ac45c56c6a48a45514 (patch) | |
| tree | b8bbb696c626492fd0e643ceee233a183fae71f9 /lib/mpi/mpi-inline.h | |
| parent | 63d370a6a929b17859c140d58cb54ce36d0c4f04 (diff) | |
IB/srpt: Fix login-related race conditions
Make sure that sport->mutex is not released between the duplicate
channel check, adding a channel to the channel list and performing
the sport enabled check. Avoid that srpt_disconnect_ch() can be
invoked concurrently with the ib_send_cm_rep() call by
srpt_cm_req_recv().
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions