linux_dsm_epyc7002/drivers/infiniband
Jason Gunthorpe 98837c6c3d 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: 88314e4dda ("RDMA/cma: add support for rdma_migrate_id()")
Link: https://lore.kernel.org/r/20200818120526.702120-10-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-08-27 08:38:15 -03:00
..
core RDMA/ucma: Fix locking for ctx->events_reported 2020-08-27 08:38:15 -03:00
hw IB/mlx5: Add DCT RoCE LAG support 2020-08-27 08:34:28 -03:00
sw RDMA/rxe: prevent rxe creation on top of vlan interface 2020-08-24 14:12:18 -03:00
ulp IB/isert: remove duplicated error prints 2020-08-18 15:22:05 -03:00
Kconfig IB/uverbs: Enable CQ ioctl commands by default 2020-07-06 19:50:33 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00