• G
    [DCCP] ccid3: Consolidate timer resets · 48e03eee
    Gerrit Renker 提交于
    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: NIan McDonald <ian.mcdonald@jandi.co.nz>
    Signed-off-by: NGerrit Renker <gerrit@erg.abdn.ac.uk>
    Signed-off-by: NArnaldo Carvalho de Melo <acme@mandriva.com>
    48e03eee
ccid3.c 35.4 KB