]> git.karo-electronics.de Git - linux-beck.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)
commit315ca6d98ed3fd7abe235637c28dd2f9f0a77795
treefa9ba8a7f0e0cb77ee05815175cbba4c42c4c80e
parentb3e51069627e2b9439757590d7b82be0d22c7779
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