diff options
author | 2020-03-10 11:25:44 +0200 | |
---|---|---|
committer | 2020-03-17 17:05:54 -0300 | |
commit | 6a8824a74bc9dccb2cae5caa993d2ec09f4694f2 (patch) | |
tree | 8d29a186a6153abc2560c6543a68a9763b7218b1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/cm: Allow ib_send_cm_rej() to be done under lock (diff) | |
download | wireguard-linux-6a8824a74bc9dccb2cae5caa993d2ec09f4694f2.tar.xz wireguard-linux-6a8824a74bc9dccb2cae5caa993d2ec09f4694f2.zip |
RDMA/cm: Allow ib_send_cm_sidr_rep() to be done under lock
The first thing ib_send_cm_sidr_rep() does is obtain the lock, so use the
usual unlocked wrapper, locked actor pattern here.
Get rid of the cm_reject_sidr_req() wrapper so each call site can call the
locked or unlocked version as required.
This avoids a sketchy lock/unlock sequence (which could allow state to
change) during cm_destroy_id().
Link: https://lore.kernel.org/r/20200310092545.251365-15-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