linux/drivers/infiniband/hw/mlx5
Leon Romanovsky 4b916ed9f9 RDMA/mlx5: Fix potential race between destroy and CQE poll
The SRQ can be destroyed right before mlx5_cmd_get_srq is called.
In such case the latter will return NULL instead of expected SRQ.

Fixes: e126ba97db ("mlx5: Add driver for Mellanox Connect-IB adapters")
Link: https://lore.kernel.org/r/20200830084010.102381-5-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-09-03 10:12:57 -03:00
..
ah.c RDMA/mlx5: Replace open-coded offsetofend() macro 2020-08-18 14:47:34 -03:00
cmd.c RDMA/mlx5: Separate counters from main.c 2020-07-07 14:05:51 -03:00
cmd.h RDMA/mlx5: Separate counters from main.c 2020-07-07 14:05:51 -03:00
cong.c RDMA/mlx5: Update mlx5_ib to use new cmd interface 2020-05-06 17:42:45 -03:00
counters.c RDMA/mlx5: Separate counters from main.c 2020-07-07 14:05:51 -03:00
counters.h RDMA/mlx5: Separate counters from main.c 2020-07-07 14:05:51 -03:00
cq.c RDMA/mlx5: Fix potential race between destroy and CQE poll 2020-09-03 10:12:57 -03:00
devx.c RDMA 5.9 merge window pull request 2020-08-06 16:43:36 -07:00
devx.h RDMA/mlx5: Cleanup DEVX initialization flow 2020-07-07 14:05:51 -03:00
doorbell.c IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00
fs.c RDMA/mlx5: Enable sniffer when device is in switchdev mode 2020-08-18 15:03:32 -03:00
fs.h RDMA/mlx5: Separate flow steering logic from main.c 2020-07-07 14:05:51 -03:00
gsi.c RDMA/mlx5: Set lag tx affinity according to slave 2020-05-02 20:19:54 -03:00
ib_rep.c IB/mlx5: Rename profile and init methods 2019-11-11 12:15:29 -08:00
ib_rep.h RDMA/mlx5: Assign profile before calling stages 2020-05-06 17:52:01 -03:00
ib_virt.c net/mlx5: Update vport.c to new cmd interface 2020-04-23 21:42:02 +03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
mad.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
main.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
Makefile RDMA/mlx5: Separate flow steering logic from main.c 2020-07-07 14:05:51 -03:00
mem.c IB/mlx5: Generally use the WC auto detection test result 2020-03-24 20:22:21 -03:00
mlx5_ib.h Merge branch 'mlx5_uar' into rdma.git /for-next 2020-07-27 11:44:36 -03:00
mr.c RDMA/mlx5: Replace open-coded offsetofend() macro 2020-08-18 14:47:34 -03:00
odp.c RDMA 5.9 merge window pull request 2020-08-06 16:43:36 -07:00
qos.c RDMA/core: Allow the ioctl layer to abort a fully created uobject 2020-05-21 20:10:46 -03:00
qp.c Linux 5.9-rc3 2020-08-31 12:28:12 -03:00
qp.h RDMA/mlx5: Separate counters from main.c 2020-07-07 14:05:51 -03:00
qpc.c RDMA/mlx5: Add missed RST2INIT and INIT2INIT steps during ECE handshake 2020-06-18 09:52:29 -03:00
restrack.c RDMA/mlx5: Separate restrack callbacks initialization from main.c 2020-07-07 14:05:51 -03:00
restrack.h RDMA/mlx5: Separate restrack callbacks initialization from main.c 2020-07-07 14:05:51 -03:00
srq_cmd.c RDMA/mlx5: Use xa_lock_irq when access to SRQ table 2020-07-16 09:28:16 -03:00
srq.c RDMA/mlx5: Get XRCD number directly for the internal use 2020-07-06 19:32:23 -03:00
srq.h RDMA: Handle SRQ allocations by IB/core 2019-04-08 13:05:25 -03:00
std_types.c RDMA/mlx5: Introduce UAPI to query PD attributes 2020-07-06 19:50:34 -03:00
wr.c RDMA 5.9 merge window pull request 2020-08-06 16:43:36 -07:00
wr.h RDMA/mlx5: Move all WR logic from qp.c to separate file 2020-05-06 17:42:45 -03:00