Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6728e7dc3e577241f36921c720cfb4eb8f5aed1a
Commit:     6728e7dc3e577241f36921c720cfb4eb8f5aed1a
Parent:     6ff03ac355cc6c10f7b1f44dd466d41213acebca
Author:     Ilpo Järvinen <[EMAIL PROTECTED]>
AuthorDate: Fri Aug 24 22:53:26 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:48:28 2007 -0700

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/ipv4/tcp_input.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 593960d..0ead46f 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,
 /* Restart timer after forward progress on connection.
  * RFC2988 recommends to restart timer to now+rto.
  */
-
-static void tcp_ack_packets_out(struct sock *sk)
+static void tcp_rearm_rto(struct sock *sk)
 {
        struct tcp_sock *tp = tcp_sk(sk);
 
@@ -2581,7 +2580,7 @@ static int tcp_clean_rtx_queue(struct sock *sk, __s32 
*seq_rtt_p)
                        = inet_csk(sk)->icsk_ca_ops;
 
                tcp_ack_update_rtt(sk, acked, seq_rtt);
-               tcp_ack_packets_out(sk);
+               tcp_rearm_rto(sk);
 
                if (tcp_is_reno(tp))
                        tcp_remove_reno_sacks(sk, pkts_acked);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to