[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190102232809.GA29987@ziepe.ca>
Date: Wed, 2 Jan 2019 16:28:09 -0700
From: Jason Gunthorpe <jgg@...pe.ca>
To: Aditya Pakki <pakki001@....edu>
Cc: kjlu@....edu, Michal Kalderon <Michal.Kalderon@...ium.com>,
Ariel Elior <Ariel.Elior@...ium.com>,
Doug Ledford <dledford@...hat.com>, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] infiniband/qedr: Potential null ptr dereference of qp
On Mon, Dec 24, 2018 at 12:24:45PM -0600, Aditya Pakki wrote:
> idr_find() may fail and return a NULL pointer. The fix checks the
> return value of the function and returns an error in case of NULL.
>
> Signed-off-by: Aditya Pakki <pakki001@....edu>
> Acked-by: Michal Kalderon <michal.kalderon@...vell.com>
> ---
> drivers/infiniband/hw/qedr/qedr_iw_cm.c | 2 ++
> 1 file changed, 2 insertions(+)
Applied to for-rc thanks
Jason
Powered by blists - more mailing lists