diff options
| author | Selvin Xavier <[email protected]> | 2024-10-14 13:36:15 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2024-10-21 16:28:15 +0000 |
| commit | 76d3ddff7153cc0bcc14a63798d19f5d0693ea71 (patch) | |
| tree | 7013838c7b9b64070020d164719b2c7675a68eae /rust/helpers | |
| parent | RDMA/bnxt_re: Fix the usage of control path spin locks (diff) | |
| download | kernel-76d3ddff7153cc0bcc14a63798d19f5d0693ea71.tar.gz kernel-76d3ddff7153cc0bcc14a63798d19f5d0693ea71.zip | |
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: f218d67ef004 ("RDMA/bnxt_re: Allow posting when QPs are in error")
Fixes: 84cf229f4001 ("RDMA/bnxt_re: Fix the qp table indexing")
Link: https://patch.msgid.link/r/[email protected]
Signed-off-by: Kalesh AP <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions
