summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-11-15 13:46:54 +0000
committermpi <mpi@openbsd.org>2016-11-15 13:46:54 +0000
commitb343429ff2451fe7155cd217bfdfe8b748312c6c (patch)
treee6ebb9ceaa015818f52ffb7a26d36d03ca2b6385
parentReturn EOPNOTSUPP instead of calling a function to do only that. (diff)
downloadwireguard-openbsd-b343429ff2451fe7155cd217bfdfe8b748312c6c.tar.xz
wireguard-openbsd-b343429ff2451fe7155cd217bfdfe8b748312c6c.zip
Switch nfs_timer() to timeout_set_proc(9) as it might end up doing a
PRU_SEND.
-rw-r--r--sys/nfs/nfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index f644a0d7774..0882dc23de8 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vfsops.c,v 1.111 2016/09/27 01:37:38 dlg Exp $ */
+/* $OpenBSD: nfs_vfsops.c,v 1.112 2016/11/15 13:46:54 mpi Exp $ */
/* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */
/*
@@ -654,7 +654,7 @@ mountnfs(struct nfs_args *argp, struct mount *mp, struct mbuf *nam,
nfs_ninit(nmp);
TAILQ_INIT(&nmp->nm_reqsq);
- timeout_set(&nmp->nm_rtimeout, nfs_timer, nmp);
+ timeout_set_proc(&nmp->nm_rtimeout, nfs_timer, nmp);
/* Set up the sockets and per-host congestion */
nmp->nm_sotype = argp->sotype;