android_kernel_xiaomi_sm8350/net/dccp
Gerrit Renker aa97efd97a [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>
2007-10-10 16:52:34 -07:00
..
ccids [DCCP]: Reuse ktime_get_real() calls again 2007-10-10 16:52:34 -07:00
ackvec.c [NET]: DIV_ROUND_UP cleanup (part two) 2007-10-10 16:48:37 -07:00
ackvec.h [DCCP] ackvec: Convert to ktime_t 2007-10-10 16:48:14 -07:00
ccid.c [DCCP]: fix theoretical ccids_{read,write}_lock() race 2007-08-13 22:52:09 -07:00
ccid.h
dccp.h [DCCP]: Nuke the timeval helpers now that we fully converted to ktime_t 2007-10-10 16:48:17 -07:00
diag.c
feat.c [DCCP]: fix memory leak and clean up style - dccp_feat_empty_confirm() 2007-08-13 22:52:10 -07:00
feat.h
input.c [DCCP]: Convert dccp_sample_rtt to ktime_t 2007-10-10 16:48:13 -07:00
ipv4.c [DCCP]: Remove unneeded pointer newdp from dccp_v4_request_recv_sock() 2007-10-10 16:48:59 -07:00
ipv6.c [IPV6]: Do not send RH0 anymore. 2007-07-10 22:55:49 -07:00
ipv6.h
Kconfig
Makefile
minisocks.c [DCCP]: Nuke dccp_timestamp and dccps_epoch, not used anymore 2007-10-10 16:48:17 -07:00
options.c [DCCP]: Nuke dccp_timestamp and dccps_epoch, not used anymore 2007-10-10 16:48:17 -07:00
output.c
probe.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
proto.c [DCCP]: Nuke dccp_timestamp and dccps_epoch, not used anymore 2007-10-10 16:48:17 -07:00
sysctl.c
timer.c