diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2024-10-14 16:36:15 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2024-10-21 19:28:15 +0300 |
commit | 76d3ddff7153cc0bcc14a63798d19f5d0693ea71 (patch) | |
tree | 7013838c7b9b64070020d164719b2c7675a68eae /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d71f4acd584cc861f54b3cb3ac07875f06550a05 (diff) | |
download | linux-76d3ddff7153cc0bcc14a63798d19f5d0693ea71.tar.xz |
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/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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions