[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090502075133.GC13165@localhost.localdomain>
Date: Sat, 2 May 2009 16:51:33 +0900
From: Satoru SATOH <satoru.satoh@...il.com>
To: netdev@...r.kernel.org
Subject: [PATCH 2/2] tcp: Fix tcp_prequeue() to get correct rto_min value
This patch depends on the previous patch, makes tcp_prequeue() uses the
correct tcp rto_min value returns from tcp_rto_min().
Signed-off-by: Satoru SATOH <satoru.satoh@...il.com>
---
include/net/tcp.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 284cc68..a54d139 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -920,7 +920,7 @@ static inline int tcp_prequeue(struct sock *sk, struct sk_buff *skb)
wake_up_interruptible(sk->sk_sleep);
if (!inet_csk_ack_scheduled(sk))
inet_csk_reset_xmit_timer(sk, ICSK_TIME_DACK,
- (3 * TCP_RTO_MIN) / 4,
+ (3 * tcp_rto_min(sk)) / 4,
TCP_RTO_MAX);
}
return 1;
--
1.6.2.2
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists