Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=488faa2ae32c2f8b1ffda5c7fae5eb7c979acc15
Commit:     488faa2ae32c2f8b1ffda5c7fae5eb7c979acc15
Parent:     cf6fc4a92400decda932e5ab97b46916919142b1
Author:     Satoru SATOH <[EMAIL PROTECTED]>
AuthorDate: Sun Dec 16 14:00:19 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Sun Dec 16 14:00:19 2007 -0800

    [IPV4]: Make tcp_input_metrics() get minimum RTO via tcp_rto_min()
    
    tcp_input_metrics() refers to the built-time constant TCP_RTO_MIN
    regardless of configured minimum RTO with iproute2.
    
    Signed-off-by: Satoru SATOH <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/ipv4/tcp_input.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index b9e429d..889c893 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -923,7 +923,7 @@ static void tcp_init_metrics(struct sock *sk)
        }
        if (dst_metric(dst, RTAX_RTTVAR) > tp->mdev) {
                tp->mdev = dst_metric(dst, RTAX_RTTVAR);
-               tp->mdev_max = tp->rttvar = max(tp->mdev, TCP_RTO_MIN);
+               tp->mdev_max = tp->rttvar = max(tp->mdev, tcp_rto_min(sk));
        }
        tcp_set_rto(sk);
        tcp_bound_rto(sk);
-
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