summaryrefslogtreecommitdiffstats
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
authorGerrit Renker2006-11-27 23:32:37 +0100
committerDavid S. Miller2006-12-03 06:30:52 +0100
commit5d0dbc4a9b2d325458dcbf9a8329bd1d2cc7bd7e (patch)
tree43aeec866470135e0b16420587ae04b7c41d43eb /include/linux/tcp.h
parent[DCCP] ccid3: Consistently update t_nom, t_ipi, t_delta (diff)
downloadkernel-qcow2-linux-5d0dbc4a9b2d325458dcbf9a8329bd1d2cc7bd7e.tar.gz
kernel-qcow2-linux-5d0dbc4a9b2d325458dcbf9a8329bd1d2cc7bd7e.tar.xz
kernel-qcow2-linux-5d0dbc4a9b2d325458dcbf9a8329bd1d2cc7bd7e.zip
[DCCP] ccid3: Consolidate handling of t_RTO
This patch * removes setting t_RTO in ccid3_hc_tx_init (per [RFC 3448, 4.2], t_RTO is undefined until feedback has been received); * makes some trivial changes (updates of comments); * performs a small optimisation by exploiting that the feedback timeout uses the value of t_ipi. The way it is done is safe, because the timeouts appear after the changes to t_ipi, ensuring that up-to-date values are used; * in ccid3_hc_tx_packet_recv, moves the t_rto statement closer to the calculation of the next_tmout. This makes the code clearer to read and is also safe, since t_rto is not updated until the next call of ccid3_hc_tx_packet_recv, and is not read by the functions called via ccid_wait_for_ccid(); * removes a `max' statement in sk_reset_timer, this is not needed since the timeout value is always greater than 1E6 microseconds. * adds `XXX'es to highlight that currently the nofeedback timer is set in a non-standard way 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 'include/linux/tcp.h')
0 files changed, 0 insertions, 0 deletions