• Ilpo Jrvinen's avatar
    [TCP]: Fix reord detection due to snd_una covered holes · c7caf8d3
    Ilpo Jrvinen authored
    Fixes subtle bug like the one with fastpath_cnt_hint happening
    due to the way the GSO and hints interact. Because hints are not
    reset when just a GSOed skb is partially ACKed, there's no
    guarantee that the relevant part of the write queue is going to
    be processed in sacktag at all (skbs below snd_una) because
    fastpath hint can fast forward the entrypoint.
    
    This was also on the way of future reductions in sacktag's skb
    processing. Also future cleanups in sacktag can be made after
    this (in 2.6.25).
    
    This may make reordering update in tcp_try_undo_partial
    redundant but I'm not too sure so I left it there.
    Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c7caf8d3
tcp_input.c 149 KB