tcp: retransmit after recovery processing and congestion control
authorYuchung Cheng <ycheng@google.com>
Tue, 2 Feb 2016 18:33:04 +0000 (10:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Feb 2016 19:09:50 +0000 (14:09 -0500)
commite662ca40de846e0a2be6326a7c4668326ddb194c
treeee0025d19418efc32e1474e80de007b05ed94b8a
parent3575dbf2cbbc8e598f17ec441aed526dbea0e1bd
tcp: retransmit after recovery processing and congestion control

The retransmission and F-RTO transmission currently happen inside
recovery state processing (tcp_fastretrans_alert) but before
congestion control.  This refactoring moves the logic after both
s.t. we can determine how much to send (cwnd) before deciding what to
send.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Eric Dumazet <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c