commit | 5b810a242c28e1d8d64d718cebe75b79d86a0b2d | [log] [tgz] |
---|---|---|
author | Tariq Toukan <tariqt@mellanox.com> | Thu Oct 27 16:36:26 2016 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Wed Nov 16 20:03:44 2016 -0500 |
tree | f767f7da2c8d3c27866a813a6facdfcffa853f0c | |
parent | a909d3e636995ba7c349e2ca5dbb528154d4ac30 [diff] |
IB/uverbs: Fix leak of XRC target QPs The real QP is destroyed in case of the ref count reaches zero, but for XRC target QPs this call was missed and caused to QP leaks. Let's call to destroy for all flows. Fixes: 0e0ec7e0638e ('RDMA/core: Export ib_open_qp() to share XRC...') Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Noa Osherovich <noaos@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>