Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2013 14:13:14 +0000 (UTC)
From:      Andre Oppermann <andre@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250365 - head/sys/kern
Message-ID:  <201305081413.r48EDEJV035220@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andre
Date: Wed May  8 14:13:14 2013
New Revision: 250365
URL: http://svnweb.freebsd.org/changeset/base/250365

Log:
  When the accept queue is full print the number of already pending
  new connections instead of by how many we're over the limit, which
  is always 1.
  
  Noticed by:	jmallet
  MFC after:	1 week

Modified:
  head/sys/kern/uipc_socket.c

Modified: head/sys/kern/uipc_socket.c
==============================================================================
--- head/sys/kern/uipc_socket.c	Wed May  8 13:26:17 2013	(r250364)
+++ head/sys/kern/uipc_socket.c	Wed May  8 14:13:14 2013	(r250365)
@@ -515,7 +515,7 @@ sonewconn(struct socket *head, int conns
 #endif
 		log(LOG_DEBUG, "%s: pcb %p: Listen queue overflow: "
 		    "%i already in queue awaiting acceptance\n",
-		    __func__, head->so_pcb, over);
+		    __func__, head->so_pcb, head->so_qlen);
 		return (NULL);
 	}
 	VNET_ASSERT(head->so_vnet != NULL, ("%s:%d so_vnet is NULL, head=%p",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305081413.r48EDEJV035220>