|
@@ -86,7 +86,7 @@ int rds_tcp_xmit(struct rds_connection *conn, struct rds_message *rm,
|
|
|
* m_ack_seq is set to the sequence number of the last byte of
|
|
|
* header and data. see rds_tcp_is_acked().
|
|
|
*/
|
|
|
- tc->t_last_sent_nxt = rds_tcp_snd_nxt(tc);
|
|
|
+ tc->t_last_sent_nxt = rds_tcp_write_seq(tc);
|
|
|
rm->m_ack_seq = tc->t_last_sent_nxt +
|
|
|
sizeof(struct rds_header) +
|
|
|
be32_to_cpu(rm->m_inc.i_hdr.h_len) - 1;
|
|
@@ -98,7 +98,7 @@ int rds_tcp_xmit(struct rds_connection *conn, struct rds_message *rm,
|
|
|
rm->m_inc.i_hdr.h_flags |= RDS_FLAG_RETRANSMITTED;
|
|
|
|
|
|
rdsdebug("rm %p tcp nxt %u ack_seq %llu\n",
|
|
|
- rm, rds_tcp_snd_nxt(tc),
|
|
|
+ rm, rds_tcp_write_seq(tc),
|
|
|
(unsigned long long)rm->m_ack_seq);
|
|
|
}
|
|
|
|