artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96ef40f
)
Remove netlock assertions from UNIX sockets layer.
author
mvs
<mvs@openbsd.org>
Thu, 29 Apr 2021 20:13:25 +0000
(20:13 +0000)
committer
mvs
<mvs@openbsd.org>
Thu, 29 Apr 2021 20:13:25 +0000
(20:13 +0000)
ok bluhm@
sys/kern/uipc_usrreq.c
patch
|
blob
|
history
diff --git
a/sys/kern/uipc_usrreq.c
b/sys/kern/uipc_usrreq.c
index
d518329
..
c1e766c
100644
(file)
--- a/
sys/kern/uipc_usrreq.c
+++ b/
sys/kern/uipc_usrreq.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: uipc_usrreq.c,v 1.14
4 2021/02/22 19:14:01
mvs Exp $ */
+/* $OpenBSD: uipc_usrreq.c,v 1.14
5 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);