提交 092260b8 编写于 作者: B Bryan O'Sullivan 提交者: Roland Dreier

IB/ipath: account for attached QPs correctly

Signed-off-by: NBryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 eae33d47
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册