From 9bd5c36d2a3c170ca4db787a207532ec7e63868f Mon Sep 17 00:00:00 2001 From: mvs Date: Thu, 29 Apr 2021 20:13:25 +0000 Subject: [PATCH] Remove netlock assertions from UNIX sockets layer. ok bluhm@ --- sys/kern/uipc_usrreq.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index d518329733a..c1e766cf0b6 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_usrreq.c,v 1.144 2021/02/22 19:14:01 mvs Exp $ */ +/* $OpenBSD: uipc_usrreq.c,v 1.145 2021/04/29 20:13:25 mvs Exp $ */ /* $NetBSD: uipc_usrreq.c,v 1.18 1996/02/09 19:00:50 christos Exp $ */ /* @@ -143,8 +143,6 @@ uipc_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam, goto release; } - NET_ASSERT_UNLOCKED(); - switch (req) { case PRU_BIND: @@ -408,8 +406,6 @@ uipc_detach(struct socket *so) if (unp == NULL) return (EINVAL); - NET_ASSERT_UNLOCKED(); - unp_detach(unp); return (0); -- 2.20.1