Re: [PATCH net] rds: tcp: compute m_ack_seq as offset from ->write_seq

2018-01-22 Thread David Miller
From: Sowmini Varadhan Date: Thu, 18 Jan 2018 13:11:07 -0800 > rds-tcp uses m_ack_seq to track the tcp ack# that indicates > that the peer has received a rds_message. The m_ack_seq is > used in rds_tcp_is_acked() to figure out when it is safe to > drop the rds_message from the RDS retransmit queu

[PATCH net] rds: tcp: compute m_ack_seq as offset from ->write_seq

2018-01-18 Thread Sowmini Varadhan
rds-tcp uses m_ack_seq to track the tcp ack# that indicates that the peer has received a rds_message. The m_ack_seq is used in rds_tcp_is_acked() to figure out when it is safe to drop the rds_message from the RDS retransmit queue. The m_ack_seq must be calculated as an offset from the right edge