* [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
* Re: [PATCH 2/2] tcp: Fix tcp_prequeue() to get correct rto_min value
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
1 sibling, 0 replies; 3+ messages in thread
From: Ilpo Järvinen @ 2009-05-02 10:20 UTC (permalink / raw)
To: Satoru SATOH; +Cc: Netdev
On Sat, 2 May 2009, Satoru SATOH wrote:
> 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;
>
I'm not fully sure we really want this... I wonder did you run into some
real problem with the TCP_RTO_MIN based version as it's not setting RTO
timer but delayed ACK timer...? The change could have nasty effects to
interactivity of a flow if somebody is hit by nagle delay and the peer
has tuned their minimum RTO. Not that I in anyway believe it should be
that useful to set that minimum RTO because of frto that is nowadays
enabled.
In any case, I see very little point in putting them into a separate
patches due to non-complex nature of the actual change (with complex
changes it might help though).
--
i.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] tcp: Fix tcp_prequeue() to get correct rto_min value
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
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2009-05-02 16:56 UTC (permalink / raw)
To: satoru.satoh; +Cc: netdev
From: Satoru SATOH <satoru.satoh@gmail.com>
Date: Sat, 2 May 2009 16:51:33 +0900
> 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>
These two patches logically belong together, please combine
them and resubmit.
Thanks!
^ permalink raw reply [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).