diff options
author | andre <andre@FreeBSD.org> | 2013-05-08 14:13:14 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2013-05-08 14:13:14 +0000 |
commit | cdd4fa931f8486e9fff068b5ea34cdc75b9b42cd (patch) | |
tree | 079be1a87f93704484c1a5b613a48e25850baef1 /sys/kern | |
parent | 2161190d39dc7ec4cfbccdf8973626fe35063fb7 (diff) | |
download | FreeBSD-src-cdd4fa931f8486e9fff068b5ea34cdc75b9b42cd.zip FreeBSD-src-cdd4fa931f8486e9fff068b5ea34cdc75b9b42cd.tar.gz |
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
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/uipc_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index c9b48d3..9330bb4 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -515,7 +515,7 @@ sonewconn(struct socket *head, int connstatus) #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", |