• David S. Miller's avatar
    [TCP]: Fix packet counting during retransmission. · 8b2674f0
    David S. Miller authored
    We run into a potential problem if we are doing
    TSO and we reduce the congestion window.  We might
    create a case where the TSO packet is what we need
    to resend but the congestion window is not large
    enough to allow it through.
    
    The fix is very simple, since tcp_retransmit_skb()
    is going to chop the size of the packet down to size
    of the normal non-TSO MSS, we can pretend at the top
    level that each SKB is composed of only one real MSS
    worth of data.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    8b2674f0
tcp_output.c 48.1 KB