aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket2.c
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>2005-11-22 01:55:29 +0000
committerJohn Polstra <jdp@FreeBSD.org>2005-11-22 01:55:29 +0000
commitba3612cd5ceb503a9e3a26495f9bdfbad5612616 (patch)
treeb4feb176f68c2f6cdc3ad72a0c86288a45c2bcbb /sys/kern/uipc_socket2.c
parent829733d0452bbe3d00b45cd05b0d0ddd5fcfa6c1 (diff)
downloadsrc-ba3612cd5ceb503a9e3a26495f9bdfbad5612616.tar.gz
src-ba3612cd5ceb503a9e3a26495f9bdfbad5612616.zip
Notes
Diffstat (limited to 'sys/kern/uipc_socket2.c')
-rw-r--r--sys/kern/uipc_socket2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c
index 017dc88511da..0e2609bd02b7 100644
--- a/sys/kern/uipc_socket2.c
+++ b/sys/kern/uipc_socket2.c
@@ -261,7 +261,7 @@ sonewconn(head, connstatus)
while (head->so_incqlen > head->so_qlimit) {
struct socket *sp;
sp = TAILQ_FIRST(&head->so_incomp);
- TAILQ_REMOVE(&so->so_incomp, sp, so_list);
+ TAILQ_REMOVE(&head->so_incomp, sp, so_list);
head->so_incqlen--;
sp->so_qstate &= ~SQ_INCOMP;
sp->so_head = NULL;