aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2007-08-25 01:53:26 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:48:28 -0400
commit6728e7dc3e577241f36921c720cfb4eb8f5aed1a (patch)
tree5918fe156766d3495898ba2e37b825275f1785fb /net/ipv4/tcp_input.c
parent6ff03ac355cc6c10f7b1f44dd466d41213acebca (diff)
[TCP]: Rename tcp_ack_packets_out -> tcp_rearm_rto
Only thing that tiny function does is rearming the RTO (if necessary), name it accordingly. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 593960d66ed9..0ead46f2bcd5 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2424,8 +2424,7 @@ static void tcp_cong_avoid(struct sock *sk, u32 ack,
2424/* Restart timer after forward progress on connection. 2424/* Restart timer after forward progress on connection.
2425 * RFC2988 recommends to restart timer to now+rto. 2425 * RFC2988 recommends to restart timer to now+rto.
2426 */ 2426 */
2427 2427static void tcp_rearm_rto(struct sock *sk)
2428static void tcp_ack_packets_out(struct sock *sk)
2429{ 2428{
2430 struct tcp_sock *tp = tcp_sk(sk); 2429 struct tcp_sock *tp = tcp_sk(sk);
2431 2430
@@ -2581,7 +2580,7 @@ static int tcp_clean_rtx_queue(struct sock *sk, __s32 *seq_rtt_p)
2581 = inet_csk(sk)->icsk_ca_ops; 2580 = inet_csk(sk)->icsk_ca_ops;
2582 2581
2583 tcp_ack_update_rtt(sk, acked, seq_rtt); 2582 tcp_ack_update_rtt(sk, acked, seq_rtt);
2584 tcp_ack_packets_out(sk); 2583 tcp_rearm_rto(sk);
2585 2584
2586 if (tcp_is_reno(tp)) 2585 if (tcp_is_reno(tp))
2587 tcp_remove_reno_sacks(sk, pkts_acked); 2586 tcp_remove_reno_sacks(sk, pkts_acked);