Skip to content
  • Gerrit Renker's avatar
    [DCCP] ccid3: Consolidate timer resets · 48e03eee
    Gerrit Renker authored
    
    
    This patch concerns updating the value of the nofeedback timer when no feedback
    has been received so far.
    
    Since in this case the value of R is still undefined according to [RFC 3448,
    4.2], we can not perform step (3) of [RFC 3448, 4.3].  A clarification is
    provided in [RFC 4342, sec. 5], which states that in these cases the nofeedback
    timer (still) expires "after two seconds".
    
    Many thanks to Ian McDonald for pointing this out and providing the
    clarification.
    
    The patch
      * implements [RFC 4342, sec. 5] with regard to the above case
      * consolidates handling timer restart by
    	- adding an appropriate jump label and
    	- initialising the timeout value
    
    Acked-by: default avatarIan McDonald <ian.mcdonald@jandi.co.nz>
    Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@mandriva.com>
    48e03eee