tcp: TLP retransmits last if failed to send new packet
authorYuchung Cheng <ycheng@google.com>
Wed, 12 Aug 2015 18:18:19 +0000 (11:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2015 23:52:20 +0000 (16:52 -0700)
commitb340b26454e7ba0f5d04b4bd5c4c782f1628ebe1
treee718b9c3e6a7d382d99fdba9d027b491a09c8548
parentfcd16c0a95a8faf4d310f94d831b22f901c5a744
tcp: TLP retransmits last if failed to send new packet

When TLP fails to send new packet because of receive window
limit, it should fall back to retransmit the last packet instead.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Nandita Dukkipati <nanditad@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c