Re: [PATCH for-rc] rdma/qedr: Fix crash due to redundant release of device's qp memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 19, 2021 at 11:22:12AM +0300, Prabhakar Kushwaha wrote:
> Device's QP memory should only be allocated and released by IB layer.
> This patch removes the redundant release of the device's qp memory
> and uses completion APIs to make sure that .destroy_qp() only return,
> when qp reference becomes 0.
> 
> Fixes: 514aee660df4 ("RDMA: Globally allocate and release QP memory")
> Acked-by: Michal Kalderon <michal.kalderon@xxxxxxxxxxx>
> Signed-off-by: Ariel Elior <aelior@xxxxxxxxxxx>
> Signed-off-by: Shai Malin <smalin@xxxxxxxxxxx>
> Signed-off-by: Alok Prasad <palok@xxxxxxxxxxx>
> Signed-off-by: Prabhakar Kushwaha <pkushwaha@xxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/qedr/qedr.h       | 1 +
>  drivers/infiniband/hw/qedr/qedr_iw_cm.c | 2 +-
>  drivers/infiniband/hw/qedr/verbs.c      | 5 ++++-
>  3 files changed, 6 insertions(+), 2 deletions(-)

Applied to for-rc, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux