• Ilpo Järvinen's avatar
    [TCP]: Also handle snd_una changes in tcp_cwnd_down · 2e605294
    Ilpo Järvinen authored
    tcp_cwnd_down must check for it too as it should be conservative
    in case of collapse stuff and also when receiver is trying to
    lie (though that wouldn't be very successful/useful anyway).
    
    Note:
    - Separated also is_dupack and do_lost in fast_retransalert
    	* Much cleaner look-and-feel now
    	* This time it really fixes cumulative ACK with many new
    	  SACK blocks recovery entry (I claimed this fixes with
    	  last patch but it wasn't). TCP will now call
    	  tcp_update_scoreboard regardless of is_dupack when
    	  in recovery as long as there is enough fackets_out.
    - Introduce FLAG_SND_UNA_ADVANCED
    	* Some prior_snd_una arguments are unnecessary after it
    - Added helper FLAG_ANY_PROGRESS to avoid long FLAG...|FLAG...
      constructs
    Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    2e605294
tcp_input.c 140 KB