diff options
author | Potnuri Bharat Teja <bharat@chelsio.com> | 2019-09-30 09:41:19 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-01 16:48:10 +0200 |
commit | 91724c1e5afe45b64970036170659726e7dc5cff (patch) | |
tree | 8532d20cd54648fd9c990bb5b2beea11c8909a8d /Documentation/netlabel | |
parent | RDMA/hfi1: Prevent memory leak in sdma_init (diff) | |
download | linux-91724c1e5afe45b64970036170659726e7dc5cff.tar.xz linux-91724c1e5afe45b64970036170659726e7dc5cff.zip |
RDMA/iw_cxgb4: fix SRQ access from dump_qp()
dump_qp() is wrongly trying to dump SRQ structures as QP when SRQ is used
by the application. This patch matches the QPID before dumping them. Also
removes unwanted SRQ id addition to QP id xarray.
Fixes: 2f43129127e6 ("cxgb4: Convert qpidr to XArray")
Link: https://lore.kernel.org/r/20190930074119.20046-1-bharat@chelsio.com
Signed-off-by: Rahul Kundu <rahul.kundu@chelsio.com>
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'Documentation/netlabel')
0 files changed, 0 insertions, 0 deletions