diff options
author | Aditya Pakki <pakki001@umn.edu> | 2018-12-24 19:24:45 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-01-03 00:08:38 +0100 |
commit | 9c6260de505b63638dd86fcc33849b17f6146d94 (patch) | |
tree | 4a3aeb7be3332b76b16ab1778a9eba8abc1527b6 /drivers/gpu | |
parent | infiniband: bnxt_re: qplib: Check the return value of send_message (diff) | |
download | linux-9c6260de505b63638dd86fcc33849b17f6146d94.tar.xz linux-9c6260de505b63638dd86fcc33849b17f6146d94.zip |
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>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions