提交 acfcd4d4 编写于 作者: A Andy Grover

RDS: Get pong working again

Call send_xmit() directly from pong()

Set pongs as op_active
Signed-off-by: NAndy Grover <andy.grover@oracle.com>
上级 a40aa923
...@@ -1108,6 +1108,7 @@ rds_send_pong(struct rds_connection *conn, __be16 dport) ...@@ -1108,6 +1108,7 @@ rds_send_pong(struct rds_connection *conn, __be16 dport)
} }
rm->m_daddr = conn->c_faddr; rm->m_daddr = conn->c_faddr;
rm->data.op_active = 1;
/* If the connection is down, trigger a connect. We may /* If the connection is down, trigger a connect. We may
* have scheduled a delayed reconnect however - in this case * have scheduled a delayed reconnect however - in this case
...@@ -1135,7 +1136,9 @@ rds_send_pong(struct rds_connection *conn, __be16 dport) ...@@ -1135,7 +1136,9 @@ rds_send_pong(struct rds_connection *conn, __be16 dport)
rds_stats_inc(s_send_queued); rds_stats_inc(s_send_queued);
rds_stats_inc(s_send_pong); rds_stats_inc(s_send_pong);
queue_delayed_work(rds_wq, &conn->c_send_w, 0); if (!test_bit(RDS_LL_SEND_FULL, &conn->c_flags))
rds_send_xmit(conn);
rds_message_put(rm); rds_message_put(rm);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册