diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2004-01-29 10:06:22 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2004-01-29 10:06:22 +0000 |
commit | c1ae86633ae519b8d2d7c4871d8e487138ad9167 (patch) | |
tree | 5f8f82d8cde0185b5e8c39f2407fc7f6024a07c0 /sys/netinet/tcp_input.c | |
parent | a28ad67f5fde0ea71a9634d8c2c411303e4ab64e (diff) |
don't increase the cwnd on syn-ack; ok itojun@, deraadt@
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 4a626b263cd..d297e956bc4 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_input.c,v 1.147 2004/01/22 14:38:28 markus Exp $ */ +/* $OpenBSD: tcp_input.c,v 1.148 2004/01/29 10:06:21 markus Exp $ */ /* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */ /* @@ -1226,15 +1226,6 @@ after_listen: */ if (tp->t_rtttime) tcp_xmit_timer(tp, tcp_now - tp->t_rtttime); - /* - * Since new data was acked (the SYN), open the - * congestion window by one MSS. We do this - * here, because we won't go through the normal - * ACK processing below. And since this is the - * start of the connection, we know we are in - * the exponential phase of slow-start. - */ - tp->snd_cwnd += tp->t_maxseg; } else tp->t_state = TCPS_SYN_RECEIVED; |