RDMA/bnxt_re: Synchronize destroy_qp with poll_cq
Avoid system crash when destroy_qp is invoked while the driver is processing the poll_cq. Synchronize these functions using the cq_lock. Signed-off-by:Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by:
Doug Ledford <dledford@redhat.com>
Showing
- drivers/infiniband/hw/bnxt_re/ib_verbs.c 36 additions, 3 deletionsdrivers/infiniband/hw/bnxt_re/ib_verbs.c
- drivers/infiniband/hw/bnxt_re/ib_verbs.h 2 additions, 0 deletionsdrivers/infiniband/hw/bnxt_re/ib_verbs.h
- drivers/infiniband/hw/bnxt_re/qplib_fp.c 6 additions, 15 deletionsdrivers/infiniband/hw/bnxt_re/qplib_fp.c
- drivers/infiniband/hw/bnxt_re/qplib_fp.h 3 additions, 1 deletiondrivers/infiniband/hw/bnxt_re/qplib_fp.h
Loading
Please register or sign in to comment