diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-03 02:05:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-03 05:48:47 +0100 |
commit | 442b9635c569fef038d5367a7acd906db4677ae1 (patch) | |
tree | c20d06ca161c70c0db61ed298eaf51102b67a38e /net/ipv4/tcp_input.c | |
parent | bna: use device model DMA API (diff) | |
download | linux-442b9635c569fef038d5367a7acd906db4677ae1.tar.xz linux-442b9635c569fef038d5367a7acd906db4677ae1.zip |
tcp: Increase the initial congestion window to 10.
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Nandita Dukkipati <nanditad@google.com>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | 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 eb7f82ebf4a3..2f692cefd3b0 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -817,7 +817,7 @@ __u32 tcp_init_cwnd(struct tcp_sock *tp, struct dst_entry *dst) __u32 cwnd = (dst ? dst_metric(dst, RTAX_INITCWND) : 0); if (!cwnd) - cwnd = rfc3390_bytes_to_packets(tp->mss_cache); + cwnd = TCP_INIT_CWND; return min_t(__u32, cwnd, tp->snd_cwnd_clamp); } |