]> Pileus Git - ~andy/linux/blobdiff - include/rdma/ib_verbs.h
IB/core: Use qp->usecnt to track multicast attach/detach
[~andy/linux] / include / rdma / ib_verbs.h
index c3cca5a4dacdb3bc9a0a04518db43b68664cc132..c84d1016618eac270320eb1bf1f39b501f3647d1 100644 (file)
@@ -964,7 +964,7 @@ struct ib_qp {
        struct ib_srq          *srq;
        struct ib_xrcd         *xrcd; /* XRC TGT QPs only */
        struct list_head        xrcd_list;
-       atomic_t                usecnt; /* count times opened */
+       atomic_t                usecnt; /* count times opened, mcast attaches */
        struct list_head        open_list;
        struct ib_qp           *real_qp;
        struct ib_uobject      *uobject;