summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authormvs <mvs@cvs.openbsd.org>2021-04-29 20:13:26 +0000
committermvs <mvs@cvs.openbsd.org>2021-04-29 20:13:26 +0000
commit9982cbab78e353b8f5b1a483a35ba771dedf057e (patch)
tree3a40115b8ff8132e3cba760a112d22c7bdd8e3ab /sys/kern
parent953935505cf68b23ca89368a478c07aba9af7066 (diff)
Remove netlock assertions from UNIX sockets layer.
ok bluhm@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/uipc_usrreq.c6
1 files changed, 1 insertions, 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);