diff options
| author | Jason Gunthorpe <[email protected]> | 2020-08-18 15:05:21 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-08-27 08:38:15 -0300 |
| commit | 98837c6c3d7285f6eca86480b6f7fac6880e27a8 (patch) | |
| tree | 6f996802d0abe9e99e700b63ef354b4a72fe65b1 /tools/perf/scripts/python | |
| parent | 09e328e47a695b0d346598f5d6593ee598e64885 (diff) | |
RDMA/ucma: Fix locking for ctx->events_reported
This value is locked under the file->mut, ensure it is held whenever
touching it.
The case in ucma_migrate_id() is a race, while in ucma_free_uctx() it is
already not possible for the write side to run, the movement is just for
clarity.
Fixes: 88314e4dda1e ("RDMA/cma: add support for rdma_migrate_id()")
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions