diff options
-rw-r--r-- | sys/kern/uipc_sockbuf.c | 2 | ||||
-rw-r--r-- | sys/kern/uipc_socket2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_sockbuf.c b/sys/kern/uipc_sockbuf.c index c395d87..2a7c343 100644 --- a/sys/kern/uipc_sockbuf.c +++ b/sys/kern/uipc_sockbuf.c @@ -231,7 +231,7 @@ sonewconn(head, connstatus) SOCK_UNLOCK(so); head->so_qlen++; } else { - if (head->so_incqlen >= head->so_qlimit) { + if (head->so_incqlen > head->so_qlimit) { struct socket *sp; sp = TAILQ_FIRST(&head->so_incomp); (void) soabort(sp); diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c index c395d87..2a7c343 100644 --- a/sys/kern/uipc_socket2.c +++ b/sys/kern/uipc_socket2.c @@ -231,7 +231,7 @@ sonewconn(head, connstatus) SOCK_UNLOCK(so); head->so_qlen++; } else { - if (head->so_incqlen >= head->so_qlimit) { + if (head->so_incqlen > head->so_qlimit) { struct socket *sp; sp = TAILQ_FIRST(&head->so_incomp); (void) soabort(sp); |