summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormvs <mvs@openbsd.org>2021-02-22 19:14:01 +0000
committermvs <mvs@openbsd.org>2021-02-22 19:14:01 +0000
commitbe81bee664384bfa9fef0b6f21a50a3eeceec942 (patch)
tree17f9c4f3135ecb784daa553e0698b0fb3ca2d066 /sys
parentDisable double-data rate modes if 1.8V signalling is not possible. (diff)
downloadwireguard-openbsd-be81bee664384bfa9fef0b6f21a50a3eeceec942.tar.xz
wireguard-openbsd-be81bee664384bfa9fef0b6f21a50a3eeceec942.zip
Move UNIX socket's garbage collector to `systqmp'. It touches nothing
which requires kernel lock to be held. ok mpi@
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/uipc_usrreq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c
index 90a5e07cbe4..d518329733a 100644
--- a/sys/kern/uipc_usrreq.c
+++ b/sys/kern/uipc_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_usrreq.c,v 1.143 2021/02/10 08:20:09 mvs Exp $ */
+/* $OpenBSD: uipc_usrreq.c,v 1.144 2021/02/22 19:14:01 mvs Exp $ */
/* $NetBSD: uipc_usrreq.c,v 1.18 1996/02/09 19:00:50 christos Exp $ */
/*
@@ -444,7 +444,7 @@ unp_detach(struct unpcb *unp)
m_freem(unp->unp_addr);
pool_put(&unpcb_pool, unp);
if (unp_rights)
- task_add(systq, &unp_gc_task);
+ task_add(systqmp, &unp_gc_task);
if (vp != NULL) {
/*
@@ -1197,7 +1197,7 @@ unp_discard(struct fdpass *rp, int nfds)
memset(rp, 0, sizeof(*rp) * nfds);
SLIST_INSERT_HEAD(&unp_deferred, defer, ud_link);
- task_add(systq, &unp_gc_task);
+ task_add(systqmp, &unp_gc_task);
}
int