summaryrefslogtreecommitdiff
path: root/net/dccp/ccids/ccid3.h
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2006-12-10 00:06:01 -0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-11 14:34:50 -0800
commitfe0499ae95f5f636bda1f6e0bdba5b7b023ea827 (patch)
treed944ebcdaa0b689de58e3c98adf3d3b707385493 /net/dccp/ccids/ccid3.h
parent65d6c2b42ecc0ca77bb3c0fe27fcbdc84fc7a79a (diff)
[DCCP] ccid3: Initialise RTT values
In both the sender and the receiver it is possible that the stored RTT value is accessed before an actual RTT estimate has been computed. This patch * initialises the sender RTT to 0 - the sender always accesses the RTT in ccid3_hc_tx_packet_sent - the RTT is further needed for the window counter algorithm * replaces the receiver initialisation of 5msec with 0 - which has the same effect and removes an `XXX' - the RTT value is needed in ccid3_hc_rx_packet_recv as rtt_prev Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/dccp/ccids/ccid3.h')
0 files changed, 0 insertions, 0 deletions