summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-06-30 11:52:12 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-06-30 11:52:12 +0000
commit63545d1764b1416fbc0467dd4943c2b27a0d7244 (patch)
treef0724806e2a858a23dd83f76e3071b4a7af50ab7
parentea66e465d2f21c53fbd3ef4d5d362d1973b1dd92 (diff)
Use "newcon" instead of "netlck" as identifier of the sleep reason while
awaiting concurrent sonewconn() threads termination. ok bluhm
-rw-r--r--sys/kern/uipc_socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index 0c3b5bb52a5..978bfff87f8 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_socket.c,v 1.303 2023/04/28 12:53:42 bluhm Exp $ */
+/* $OpenBSD: uipc_socket.c,v 1.304 2023/06/30 11:52:11 mvs Exp $ */
/* $NetBSD: uipc_socket.c,v 1.21 1996/02/04 02:17:52 christos Exp $ */
/*
@@ -406,7 +406,7 @@ drop:
while (so->so_newconn > 0) {
so->so_state |= SS_NEWCONN_WAIT;
sosleep_nsec(so, &so->so_newconn, PSOCK,
- "netlck", INFSLP);
+ "newcon", INFSLP);
}
}