diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-08-03 21:20:37 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-08-03 15:26:19 -0300 |
commit | 5507f67d08cdd947714647caa5c60f96b719fcb7 (patch) | |
tree | 3b823fd6a865f7a3759ecf11ceed86a33dc8be8a /drivers/infiniband/core/trace.c | |
parent | 00a79d6b996d46e9077b0d02a19c87b99305b94a (diff) |
RDMA/core: Properly increment and decrement QP usecnts
The QP usecnts were incremented through QP attributes structure while
decreased through QP itself. Rely on the ib_creat_qp_user() code that
initialized all QP parameters prior returning to the user and increment
exactly like destroy does.
Link: https://lore.kernel.org/r/25d256a3bb1fc480b77d7fe439817b993de48610.1628014762.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/core/trace.c')
0 files changed, 0 insertions, 0 deletions