# This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2004/09/27 22:00:18-07:00 herbert@gondor.apana.org.au # [TCP]: Use mss_cache_std in tcp_init_metrics(). # # Signed-off-by: Herbert Xu # Signed-off-by: David S. Miller # # net/ipv4/tcp_input.c # 2004/09/27 21:59:38-07:00 herbert@gondor.apana.org.au +2 -2 # [TCP]: Use mss_cache_std in tcp_init_metrics(). # diff -Nru a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c --- a/net/ipv4/tcp_input.c 2004-09-28 14:31:12 -07:00 +++ b/net/ipv4/tcp_input.c 2004-09-28 14:31:12 -07:00 @@ -802,10 +802,10 @@ __u32 cwnd = (dst ? dst_metric(dst, RTAX_INITCWND) : 0); if (!cwnd) { - if (tp->mss_cache > 1460) + if (tp->mss_cache_std > 1460) cwnd = 2; else - cwnd = (tp->mss_cache > 1095) ? 3 : 4; + cwnd = (tp->mss_cache_std > 1095) ? 3 : 4; } return min_t(__u32, cwnd, tp->snd_cwnd_clamp); }