linux/drivers/infiniband
Yuval Avnery 535005ca8e IB/core: Destroy QP if XRC QP fails
The open-coded variant missed destroy of SELinux created QP, reuse already
existing ib_detroy_qp() call and use this opportunity to clean
ib_create_qp() from double prints and unclear exit paths.

Reported-by: Parav Pandit <parav@mellanox.com>
Fixes: d291f1a652 ("IB/core: Enforce PKey security on QPs")
Signed-off-by: Yuval Avnery <yuvalav@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-01-24 09:22:30 -07:00
..
core IB/core: Destroy QP if XRC QP fails 2019-01-24 09:22:30 -07:00
hw RDMA/qib: Use GUP longterm for PSM page pining 2019-01-24 09:22:30 -07:00
sw IB/rxe: Remove unnecessary rxe variable 2019-01-21 16:46:08 -07:00
ulp infiniband: ipoib: no need to check return value of debugfs_create functions 2019-01-24 09:22:30 -07:00
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
Makefile