]> git.baikalelectronics.ru Git - kernel.git/commit
RDS: TCP: set RDS_FLAG_RETRANSMITTED in cp_retrans list
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Wed, 16 Nov 2016 21:29:48 +0000 (13:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Nov 2016 18:35:18 +0000 (13:35 -0500)
commit8b7f67a242a891b455364cc7271300690783988a
treefa9ba8a7f0e0cb77ee05815175cbba4c42c4c80e
parentf8cbfe30643b99662e813a82dc02161c2a430a6b
RDS: TCP: set RDS_FLAG_RETRANSMITTED in cp_retrans list

As noted in rds_recv_incoming() sequence numbers on data packets
can decreas for the failover case, and the Rx path is equipped
to recover from this, if the RDS_FLAG_RETRANSMITTED is set
on the rds header of an incoming message with a suspect sequence
number.

The RDS_FLAG_RETRANSMITTED is predicated on the RDS_FLAG_RETRANSMITTED
flag in the rds_message, so make sure the flag is set on messages
queued for retransmission.

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/tcp_send.c