summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 1c08251..b5cc0bb 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.35 1996/01/31 08:22:24 olah Exp $
+ * $Id: tcp_input.c,v 1.36 1996/02/22 11:46:39 davidg Exp $
*/
#ifndef TUBA_INCLUDE
@@ -396,8 +396,10 @@ findpcb:
if (so->so_options & SO_ACCEPTCONN) {
register struct tcpcb *tp0 = tp;
so = sonewconn(so, 0);
- if (so == 0)
+ if (so == 0) {
+ tcpstat.tcps_listendrop++;
goto drop;
+ }
/*
* This is ugly, but ....
*
OpenPOWER on IntegriCloud