Index: sys/kern/uipc_socket.c =================================================================== RCS file: /mount/openbsd/cvs/src/sys/kern/uipc_socket.c,v diff -u -p -u -p -r1.374 uipc_socket.c --- sys/kern/uipc_socket.c 17 Feb 2025 08:56:33 -0000 1.374 +++ sys/kern/uipc_socket.c 17 Mar 2025 13:43:16 -0000 @@ -1252,9 +1252,9 @@ soshutdown(struct socket *so, int how) sorflush(so); /* FALLTHROUGH */ case SHUT_WR: - solock(so); + solock_shared(so); error = pru_shutdown(so); - sounlock(so); + sounlock_shared(so); break; default: error = EINVAL;