netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] tcp: Fix tcp_prequeue() to get correct rto_min value
@ 2009-05-02  7:51 Satoru SATOH
  2009-05-02 10:20 ` Ilpo Järvinen
  2009-05-02 16:56 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Satoru SATOH @ 2009-05-02  7:51 UTC (permalink / raw)
  To: netdev

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@gmail.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-02 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-02  7:51 [PATCH 2/2] tcp: Fix tcp_prequeue() to get correct rto_min value Satoru SATOH
2009-05-02 10:20 ` Ilpo Järvinen
2009-05-02 16:56 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).