aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/bnxt_re/Kconfig
diff options
context:
space:
mode:
authorYuval Avnery <yuvalav@mellanox.com>2019-01-22 09:02:05 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-01-24 09:22:30 -0700
commit535005ca8e5e71918d64074032f4b9d4fef8981e (patch)
treec46f4658794d236a7acafdf017a8734569053c53 /drivers/infiniband/hw/bnxt_re/Kconfig
parentRDMA/qib: Use GUP longterm for PSM page pining (diff)
downloadlinux-dev-535005ca8e5e71918d64074032f4b9d4fef8981e.tar.xz
linux-dev-535005ca8e5e71918d64074032f4b9d4fef8981e.zip
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: d291f1a65232 ("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>
Diffstat (limited to 'drivers/infiniband/hw/bnxt_re/Kconfig')
0 files changed, 0 insertions, 0 deletions