svn commit: r250365 - head/sys/kern
Andre Oppermann
andre at FreeBSD.org
Wed May 8 14:13:15 UTC 2013
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",
More information about the svn-src-all
mailing list