aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/options.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2007-09-26 01:39:16 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:52:34 -0400
commitaa97efd97acefb7d3dcd864adb878c7ce34061b3 (patch)
tree1cad4e0193364c6b601c1ebc2ec8bc4aa8f600ae /net/dccp/options.c
parente0eb68596232788bc352368f2fbc3cb088e42e41 (diff)
[DCCP]: Reuse ktime_get_real() calls again
This patch reduces the number of timestamps taken in the receive path for each packet. The ccid3_hc_tx_update_x() routine is called in * the receive path for each CCID3-controlled packet * for the nofeedback timer (if no feedback arrives during 4 RTT) Currently, when there is no loss, each packet gets timestamped twice. The patch resolves this by recycling the first timestamp taken on packet reception for RTT sampling. When the no_feedback_timer() is called, then the timestamp argument is simply set to NULL - so that ccid3_hc_tx_update_x() takes care of the logic. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/options.c')
0 files changed, 0 insertions, 0 deletions