summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSelvin Xavier <selvin.xavier@broadcom.com>2024-10-14 16:36:15 +0300
committerJason Gunthorpe <jgg@nvidia.com>2024-10-21 19:28:15 +0300
commit76d3ddff7153cc0bcc14a63798d19f5d0693ea71 (patch)
tree7013838c7b9b64070020d164719b2c7675a68eae /scripts/gdb/linux/utils.py
parentd71f4acd584cc861f54b3cb3ac07875f06550a05 (diff)
downloadlinux-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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions