• Yuchung Cheng's avatar
    tcp: fix undo on partial ack in recovery · 7026b912
    Yuchung Cheng authored
    Upon detecting spurious fast retransmit via timestamps during recovery,
    use PRR to clock out new data packet instead of retransmission. Once
    all retransmission are proven spurious, the sender then reverts the
    cwnd reduction and congestion state to open or disorder.
    
    The current code does the opposite: it undoes cwnd as soon as any
    retransmission is spurious and continues to retransmit until all
    data are acked. This nullifies the point to undo the cwnd because
    the sender is still retransmistting spuriously. This patch fixes
    it. The undo_ssthresh argument of tcp_undo_cwnd_reductiuon() is no
    longer needed and is removed.
    Signed-off-by: default avatarYuchung Cheng <ycheng@google.com>
    Acked-by: default avatarNeal Cardwell <ncardwell@google.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    7026b912
tcp_input.c 163 KB