commit | 9c6260de505b63638dd86fcc33849b17f6146d94 | [log] [tgz] |
---|---|---|
author | Aditya Pakki <pakki001@umn.edu> | Mon Dec 24 12:24:45 2018 -0600 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Wed Jan 02 16:08:38 2019 -0700 |
tree | 4a3aeb7be3332b76b16ab1778a9eba8abc1527b6 | |
parent | 94edd87a1c59f3efa6fdf4e98d6d492e6cec6173 [diff] |
infiniband/qedr: Potential null ptr dereference of qp 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@umn.edu> Acked-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>