Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 092260b8 authored by Bryan O'Sullivan's avatar Bryan O'Sullivan Committed by Roland Dreier
Browse files

IB/ipath: account for attached QPs correctly

parent eae33d47
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -217,6 +217,8 @@ static int ipath_mcast_add(struct ipath_ibdev *dev,
	dev->n_mcast_grps_allocated++;
	spin_unlock(&dev->n_mcast_grps_lock);

	mcast->n_attached++;

	list_add_tail_rcu(&mqp->list, &mcast->qp_list);

	atomic_inc(&mcast->refcount);