Re: [PATCH rdma-next v3 3/7] RDMA: Annotate create QP callers

Jason Gunthorpe
2018-01-14T21:27:04Z

On Thu, Jan 11, 2018 at 05:31:28PM +0200, Leon Romanovsky wrote:
> @@ -1538,6 +1537,7 @@ int ib_destroy_qp(struct ib_qp *qp)
> if (!qp->uobject)
> rdma_rw_cleanup_mrs(qp);
>
> + rdma_restrack_del(&qp->res, RDMA_RESTRACK_QP);
> ret = qp->device->destroy_qp(qp);
> if (!ret) {
> if (pd)

This hunk belongs in a different patch right?

Jason