diff options
author | Andre Oppermann <andre@FreeBSD.org> | 2013-05-08 14:13:14 +0000 |
---|---|---|
committer | Andre Oppermann <andre@FreeBSD.org> | 2013-05-08 14:13:14 +0000 |
commit | 6753da1356b259fbf62d9fa41cf6cf717fdc21a4 (patch) | |
tree | 079be1a87f93704484c1a5b613a48e25850baef1 | |
parent | 9335f4eb24b2983816e2244271839966d2e9c43e (diff) | |
download | src-6753da1356b259fbf62d9fa41cf6cf717fdc21a4.tar.gz src-6753da1356b259fbf62d9fa41cf6cf717fdc21a4.zip |
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
Notes
Notes:
svn path=/head/; revision=250365
-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 c9b48d36a62c..9330bb4902ad 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", |