aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_reass.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/tcp_reass.c')
-rw-r--r--sys/netinet/tcp_reass.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c
index b8e945470676..35a3ba5eb255 100644
--- a/sys/netinet/tcp_reass.c
+++ b/sys/netinet/tcp_reass.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;
/*