diff options
| author | 2020-08-18 15:05:20 +0300 | |
|---|---|---|
| committer | 2020-08-27 08:38:15 -0300 | |
| commit | 09e328e47a695b0d346598f5d6593ee598e64885 (patch) | |
| tree | 635c7de0cf2fb35f54c7661ef204ffd90dc99208 /scripts/patch-kernel | |
| parent | RDMA/ucma: Do not use file->mut to lock destroying (diff) | |
RDMA/ucma: Fix the locking of ctx->file
ctx->file is changed under the file->mut lock by ucma_migrate_id(), which
is impossible to lock correctly. Instead change ctx->file under the
handler_lock and ctx_table lock and revise all places touching ctx->file
to use this locking when reading ctx->file.
Link: https://lore.kernel.org/r/20200818120526.702120-9-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
