summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1994-10-08 22:39:58 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1994-10-08 22:39:58 +0000
commitac0776aed7dfc9983c66a504b0753904a970df47 (patch)
tree45f057ece43e4d6ba422f681d1003df1d38f196a /sys/netinet/tcp_subr.c
parentdf4409487f353867dfe318f6e54e250adb067ae6 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 0e01df8328ad..10e83ab31d76 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_subr.c 8.1 (Berkeley) 6/10/93
- * $Id: tcp_subr.c,v 1.3 1994/08/02 07:49:08 davidg Exp $
+ * $Id: tcp_subr.c,v 1.4 1994/10/02 17:48:44 phk Exp $
*/
#include <sys/param.h>
@@ -326,8 +326,8 @@ tcp_close(tp)
* before we start updating, then update on both good
* and bad news.
*/
- if ((rt->rt_rmx.rmx_locks & RTV_SSTHRESH) == 0 &&
- ((i = tp->snd_ssthresh)) && rt->rt_rmx.rmx_ssthresh ||
+ if (((rt->rt_rmx.rmx_locks & RTV_SSTHRESH) == 0 &&
+ ((i = tp->snd_ssthresh) != 0) && rt->rt_rmx.rmx_ssthresh) ||
i < (rt->rt_rmx.rmx_sendpipe / 2)) {
/*
* convert the limit from user data bytes to