• Samuel Jero's avatar
    dccp ccid-2: check Ack Ratio when reducing cwnd · d96a9e8d
    Samuel Jero authored
    This patch causes CCID-2 to check the Ack Ratio after reducing the congestion
    window. If the Ack Ratio is greater than the congestion window, it is
    reduced. This prevents timeouts caused by an Ack Ratio larger than the
    congestion window.
    
    In this situation, we choose to set the Ack Ratio to half the congestion window
    (or one if that's zero) so that if we loose one ack we don't trigger a timeout.
    
    Signed-off-by: Samuel Jero <sj323707@ohio.edu> 
    Acked-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
    d96a9e8d
ccid2.c 23.1 KB