Skip to content
Commit 9c6260de authored by Aditya Pakki's avatar Aditya Pakki Committed by Jason Gunthorpe
Browse files

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: default avatarAditya Pakki <pakki001@umn.edu>
Acked-by: default avatarMichal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 94edd87a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment