summaryrefslogtreecommitdiff
path: root/sys/arch/vax/uba
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-08 08:50:27 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-08 08:50:27 +0000
commit94d1681e1d4c04e4f4384d9e36f0ae6e74560409 (patch)
tree89608c8f0edccd88b05e452116284dc24c6d64d4 /sys/arch/vax/uba
parent84eb493436172260ba7e053ca26252e495c4aa42 (diff)
protect biodone with splbio
Diffstat (limited to 'sys/arch/vax/uba')
-rw-r--r--sys/arch/vax/uba/ts.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/vax/uba/ts.c b/sys/arch/vax/uba/ts.c
index 476ec7f3408..fe937d5a61a 100644
--- a/sys/arch/vax/uba/ts.c
+++ b/sys/arch/vax/uba/ts.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ts.c,v 1.9 2002/05/23 15:31:57 art Exp $ */
+/* $OpenBSD: ts.c,v 1.10 2002/06/08 08:50:26 art Exp $ */
/* $NetBSD: ts.c,v 1.11 1997/01/11 11:34:43 ragge Exp $ */
/*-
@@ -428,6 +428,7 @@ tsstart (sc, bp)
volatile int i, itmp;
int ioctl;
int cmd;
+ int s;
if ((dp = ts_wtab[ctlr]) != NULL) {
/*
@@ -439,7 +440,9 @@ tsstart (sc, bp)
/* bertram: ubarelse ??? */
ts_wtab[ctlr] = NULL;
dp->b_flags |= B_ERROR;
+ s = splbio();
biodone (dp);
+ splx(s);
if (tsreg->tssr & TS_SC) { /* Special Condition; Error */
log (TS_PRI, "%s: tssr 0x%x, state %d\n",