diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/uipc_socket2.c | 4 | ||||
-rw-r--r-- | sys/kern/uipc_syscalls.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c index 64eb92102d1..7fe3df6b1f0 100644 --- a/sys/kern/uipc_socket2.c +++ b/sys/kern/uipc_socket2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_socket2.c,v 1.149 2024/04/11 13:32:51 mvs Exp $ */ +/* $OpenBSD: uipc_socket2.c,v 1.150 2024/04/25 17:32:53 bluhm Exp $ */ /* $NetBSD: uipc_socket2.c,v 1.11 1996/02/04 02:17:55 christos Exp $ */ /* @@ -559,7 +559,7 @@ sblock(struct socket *so, struct sockbuf *sb, int flags) while (sb->sb_flags & SB_LOCK) { sb->sb_flags |= SB_WANT; mtx_leave(&sb->sb_mtx); - error = sosleep_nsec(so, &sb->sb_flags, prio, "netlck", INFSLP); + error = sosleep_nsec(so, &sb->sb_flags, prio, "sblock", INFSLP); if (error) return (error); mtx_enter(&sb->sb_mtx); diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index 97690f8db5b..1ad1b7941d6 100644 --- a/sys/kern/uipc_syscalls.c +++ b/sys/kern/uipc_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_syscalls.c,v 1.218 2024/03/01 14:15:01 bluhm Exp $ */ +/* $OpenBSD: uipc_syscalls.c,v 1.219 2024/04/25 17:32:53 bluhm Exp $ */ /* $NetBSD: uipc_syscalls.c,v 1.19 1996/02/09 19:00:48 christos Exp $ */ /* @@ -300,7 +300,7 @@ doaccept(struct proc *p, int sock, struct sockaddr *name, socklen_t *anamelen, break; } error = sosleep_nsec(head, &head->so_timeo, PSOCK | PCATCH, - "netcon", INFSLP); + "netacc", INFSLP); if (error) goto out_unlock; } @@ -428,7 +428,7 @@ sys_connect(struct proc *p, void *v, register_t *retval) } while ((so->so_state & SS_ISCONNECTING) && so->so_error == 0) { error = sosleep_nsec(so, &so->so_timeo, PSOCK | PCATCH, - "netcon2", INFSLP); + "netcon", INFSLP); if (error) { if (error == EINTR || error == ERESTART) interrupted = 1; @@ -1651,7 +1651,7 @@ out: error = soconnect(so, nam); while ((so->so_state & SS_ISCONNECTING) && so->so_error == 0) { error = sosleep_nsec(so, &so->so_timeo, PSOCK | PCATCH, - "netcon2", INFSLP); + "ypcon", INFSLP); if (error) break; } |