summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/bnxt_re
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2023-07-13 16:16:58 +0200
committerLeon Romanovsky <leon@kernel.org>2023-07-17 08:02:13 +0300
commitdc52aadbc1849cbe3fcf6bc54d35f6baa396e0a1 (patch)
tree02a4d997afb9fdbb12baca1e9f3326a038630eda /drivers/infiniband/hw/bnxt_re
parent0e15863015d97c1ee2cc29d599abcc7fa2dc3e95 (diff)
downloadlinux-stable-dc52aadbc1849cbe3fcf6bc54d35f6baa396e0a1.tar.gz
linux-stable-dc52aadbc1849cbe3fcf6bc54d35f6baa396e0a1.tar.bz2
linux-stable-dc52aadbc1849cbe3fcf6bc54d35f6baa396e0a1.zip
RDMA/mthca: Fix crash when polling CQ for shared QPs
Commit 21c2fe94abb2 ("RDMA/mthca: Combine special QP struct with mthca QP") introduced a new struct mthca_sqp which doesn't contain struct mthca_qp any longer. Placing a pointer of this new struct into qptable leads to crashes, because mthca_poll_one() expects a qp pointer. Fix this by putting the correct pointer into qptable. Fixes: 21c2fe94abb2 ("RDMA/mthca: Combine special QP struct with mthca QP") Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Link: https://lore.kernel.org/r/20230713141658.9426-1-tbogendoerfer@suse.de Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/bnxt_re')
0 files changed, 0 insertions, 0 deletions