From 68bf1f355161f2b0965917a49d678e7cb89e287a Mon Sep 17 00:00:00 2001 From: mvs Date: Fri, 30 Jun 2023 11:52:11 +0000 Subject: [PATCH] Use "newcon" instead of "netlck" as identifier of the sleep reason while awaiting concurrent sonewconn() threads termination. ok bluhm --- sys/kern/uipc_socket.c | 4 ++-- 1 file 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); } } -- 2.20.1