Re: [PATCH for-next] RDMA/hns: Fix double free of the pointer to TSQ/TPQ

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

 



On Thu, Nov 12, 2020 at 07:29:42PM +0800, Weihang Li wrote:
> A return statement is omitted after getting HEM table, then the newly
> allocated pointer will be freed directly, which will cause a calltrace when
> the driver was removed.
> 
> Fixes: d6d91e46210f ("RDMA/hns: Add support for configuring GMV table")
> Signed-off-by: Weihang Li <liweihang@xxxxxxxxxx>
> ---
>  drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 2 ++
>  1 file changed, 2 insertions(+)

Applied to for-next, 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