diff options
| author | Yuval Avnery <[email protected]> | 2019-01-22 09:02:05 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-01-24 09:22:30 -0700 |
| commit | 535005ca8e5e71918d64074032f4b9d4fef8981e (patch) | |
| tree | c46f4658794d236a7acafdf017a8734569053c53 /tools/perf/scripts/python/netdev-times.py | |
| parent | ff0244bb5924e4b94145df177976d4ed17fe5f29 (diff) | |
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 <[email protected]>
Fixes: d291f1a65232 ("IB/core: Enforce PKey security on QPs")
Signed-off-by: Yuval Avnery <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Reviewed-by: Daniel Jurgens <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions