1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 00:20:52 -05:00
linux/drivers/infiniband/hw
Selvin Xavier 76d3ddff71 RDMA/bnxt_re: synchronize the qp-handle table array
There is a race between the CREQ tasklet and destroy qp when accessing the
qp-handle table. There is a chance of reading a valid qp-handle in the
CREQ tasklet handler while the QP is already moving ahead with the
destruction.

Fixing this race by implementing a table-lock to synchronize the access.

Fixes: f218d67ef0 ("RDMA/bnxt_re: Allow posting when QPs are in error")
Fixes: 84cf229f40 ("RDMA/bnxt_re: Fix the qp table indexing")
Link: https://patch.msgid.link/r/1728912975-19346-3-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2024-10-21 13:28:15 -03:00
..
bnxt_re RDMA/bnxt_re: synchronize the qp-handle table array 2024-10-21 13:28:15 -03:00
cxgb4 RDMA/cxgb4: Dump vendor specific QP details 2024-10-21 13:22:33 -03:00
efa
erdma
hfi1 [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
hns RDMA/hns: Fix ah error counter in sw stat not increasing 2024-09-16 11:21:58 +03:00
irdma RDMA/irdma: Fix misspelling of "accept*" 2024-10-11 14:06:09 -03:00
mana
mlx4
mlx5 RDMA/mlx5: Round max_rd_atomic/max_dest_rd_atomic up instead of down 2024-10-21 13:25:44 -03:00
mthca
ocrdma
qedr
qib
usnic
vmw_pvrdma
Makefile