diff options
author | Devesh Sharma <[email protected]> | 2019-02-22 07:16:19 -0500 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-02-22 11:17:22 -0700 |
commit | c50866e2853a0315ae9669691406c614f5d848b2 (patch) | |
tree | cfa957f641a2c6a77b1c301b49609f9752d31792 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 2612d723aadcf8281f9bf8305657129bd9f3cd57 (diff) |
bnxt_re: fix the regression due to changes in alloc_pbl
While adding the use of for_each_sg_dma_page iterator for Brodcom's rdma
driver, there was a regression added in the __alloc_pbl path. The change
left bnxt_re in DOA state in for-next branch.
Fixing the regression to avoid the host crash when a user space object is
created. Restricting the unconditional access to hwq.pg_arr when hwq is
initialized for user space objects.
Fixes: 161ebe2498d4 ("RDMA/bnxt_re: Use for_each_sg_dma_page iterator on umem SGL")
Reported-by: Gal Pressman <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Signed-off-by: Devesh Sharma <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions