提交 efad7e6b 编写于 作者: M Mike Christie 提交者: David Teigland

dlm: clear correct init bit during sctp setup

We were clearing the base con's init pending flags, but the
con for the node was the one with the pending bit set.
Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: NDavid Teigland <teigland@redhat.com>
上级 a2648ebb
无相关合并请求
......@@ -664,7 +664,7 @@ static void process_sctp_notification(struct connection *con,
/* Send any pending writes */
clear_bit(CF_CONNECT_PENDING, &new_con->flags);
clear_bit(CF_INIT_PENDING, &con->flags);
clear_bit(CF_INIT_PENDING, &new_con->flags);
if (!test_and_set_bit(CF_WRITE_PENDING, &new_con->flags)) {
queue_work(send_workqueue, &new_con->swork);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部