summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/uipc_socket.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index c653a258254..2f7ecfd2371 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_socket.c,v 1.214 2018/01/09 15:14:23 mpi Exp $ */
+/* $OpenBSD: uipc_socket.c,v 1.215 2018/01/10 18:14:34 bluhm Exp $ */
/* $NetBSD: uipc_socket.c,v 1.21 1996/02/04 02:17:52 christos Exp $ */
/*
@@ -1078,7 +1078,8 @@ sosplice(struct socket *so, int fd, off_t max, struct timeval *tv)
soassertlocked(so);
if (sosplice_taskq == NULL)
- sosplice_taskq = taskq_create("sosplice", 1, IPL_SOFTNET, 0);
+ sosplice_taskq = taskq_create("sosplice", 1, IPL_SOFTNET,
+ TASKQ_MPSAFE);
if (sosplice_taskq == NULL)
return (ENOMEM);