diff options
| author | Jason Gunthorpe <[email protected]> | 2020-03-10 11:25:43 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-03-17 17:05:54 -0300 |
| commit | 81ddb41f876d488416e8aa5a740a4dbd01a83705 (patch) | |
| tree | ee578728672aa9c148d190c940042f2271869d3c /scripts/gdb/linux/lists.py | |
| parent | 87cabf3e09fff9960743801a046bb2676427f00a (diff) | |
RDMA/cm: Allow ib_send_cm_rej() to be done under lock
The first thing ib_send_cm_rej() does is obtain the lock, so use the usual
unlocked wrapper, locked actor pattern here.
This avoids a sketchy lock/unlock sequence (which could allow state to
change) during cm_destroy_id().
While here simplify some of the logic in the implementation.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions