• Y
    tcp: fix undo on partial ack in recovery · 7026b912
    Yuchung Cheng 提交于
    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: NYuchung Cheng <ycheng@google.com>
    Acked-by: NNeal Cardwell <ncardwell@google.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    7026b912
tcp_input.c 162.8 KB