summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1996-09-21 06:39:20 +0000
committerpst <pst@FreeBSD.org>1996-09-21 06:39:20 +0000
commit32aae003628505202ede19b441af28ab2d85b250 (patch)
treec4a6a7b702d5822fb6cdb86ec7cb85a45b66d34d /sys/netinet/tcp_input.c
parent4b550cd4a821acfd80918d1ea948d3b500b22c14 (diff)
downloadFreeBSD-src-32aae003628505202ede19b441af28ab2d85b250.zip
FreeBSD-src-32aae003628505202ede19b441af28ab2d85b250.tar.gz
I don't understand, I committed this fix (move a counter and fixed a typo)
this evening. I think I'm going insane.
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index b8e9454..35a3ba5 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
- * $Id: tcp_input.c,v 1.49 1996/09/20 21:25:18 pst Exp $
+ * $Id: tcp_input.c,v 1.50 1996/09/21 06:30:06 ache Exp $
*/
#ifndef TUBA_INCLUDE
@@ -417,15 +417,14 @@ findpcb:
*/
so2 = sonewconn(so, 0);
if (!so2) {
+ tcpstat.tcps_listendrop++;
so2 = TAILQ_FIRST(&so->so_incomp);
if (so2) {
tcp_drop(sototcpcb(so2), ETIMEDOUT);
so2 = sonewconn(so, 0);
}
- if (!so2) {
- tcpstat.tcps_listendrop++;
+ if (!so2)
goto drop;
- }
}
so = so2;
/*
OpenPOWER on IntegriCloud