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
This commit is contained in:
parent
2161190d39
commit
cdd4fa931f
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user