summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-03-10 17:40:37 +0000
committermillert <millert@openbsd.org>1998-03-10 17:40:37 +0000
commitc4e9f79aefc97dda4ea429f649fe2c8d90621c30 (patch)
treec292b5713232854e6a644528666a8dbc542910c0
parentfix coredump on pipe to uncompress (diff)
downloadwireguard-openbsd-c4e9f79aefc97dda4ea429f649fe2c8d90621c30.tar.xz
wireguard-openbsd-c4e9f79aefc97dda4ea429f649fe2c8d90621c30.zip
Clear dependcy list so we don't panic a soft updates kernel.
-rw-r--r--sys/dev/vnd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c
index f37121d2ee3..2aa8a1aaeb0 100644
--- a/sys/dev/vnd.c
+++ b/sys/dev/vnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnd.c,v 1.20 1997/11/06 05:58:08 csapuntz Exp $ */
+/* $OpenBSD: vnd.c,v 1.21 1998/03/10 17:40:37 millert Exp $ */
/* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */
/*
@@ -520,6 +520,7 @@ vndstrategy(bp)
nbp->vb_buf.b_dirtyend = bp->b_dirtyend;
nbp->vb_buf.b_validoff = bp->b_validoff;
nbp->vb_buf.b_validend = bp->b_validend;
+ LIST_INIT(&nbp->vb_buf.b_dep);
/* save a reference to the old buffer */
nbp->vb_obp = bp;