summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-07-05 21:21:18 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-07-05 21:21:18 +0000
commit44df1985a060f8177a115cfc5cdc20703eb99754 (patch)
treedbfc30965c6f750e7b8b9ae8d11999e611c211fa /sys
parent155b8b00f9ac567ef04b6c0ca30bb2e9bd29a07c (diff)
Never call crp_callback directly, use crypto_done() instead
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/hifn7751.c4
-rw-r--r--sys/dev/pci/ises.c4
-rw-r--r--sys/dev/pci/ubsec.c8
3 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c
index c182d774398..5e64718a223 100644
--- a/sys/dev/pci/hifn7751.c
+++ b/sys/dev/pci/hifn7751.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751.c,v 1.121 2002/07/05 21:03:46 jason Exp $ */
+/* $OpenBSD: hifn7751.c,v 1.122 2002/07/05 21:21:17 jason Exp $ */
/*
* Invertex AEON / Hifn 7751 driver
@@ -2067,7 +2067,7 @@ errout:
else
hifnstats.hst_nomem++;
crp->crp_etype = err;
- crp->crp_callback(crp);
+ crypto_done(crp);
return (0);
}
diff --git a/sys/dev/pci/ises.c b/sys/dev/pci/ises.c
index b743ec85735..1591e5e3ae1 100644
--- a/sys/dev/pci/ises.c
+++ b/sys/dev/pci/ises.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ises.c,v 1.21 2002/07/05 21:03:46 jason Exp $ */
+/* $OpenBSD: ises.c,v 1.22 2002/07/05 21:21:17 jason Exp $ */
/*
* Copyright (c) 2000, 2001 Håkan Olsson (ho@crt.se)
@@ -1469,7 +1469,7 @@ errout:
free(q, M_DEVBUF);
}
crp->crp_etype = err;
- crp->crp_callback(crp);
+ crypto_done(crp);
return (0);
}
diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c
index 2d28e19e2b2..e094fff0802 100644
--- a/sys/dev/pci/ubsec.c
+++ b/sys/dev/pci/ubsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ubsec.c,v 1.106 2002/07/05 21:03:46 jason Exp $ */
+/* $OpenBSD: ubsec.c,v 1.107 2002/07/05 21:21:17 jason Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@@ -1217,7 +1217,7 @@ errout:
ubsecstats.hst_nomem++;
errout2:
crp->crp_etype = err;
- crp->crp_callback(crp);
+ crypto_done(crp);
return (0);
}
@@ -1668,7 +1668,7 @@ ubsec_free_q(struct ubsec_softc *sc, struct ubsec_q *q)
SIMPLEQ_INSERT_TAIL(&sc->sc_freequeue, q2, q_next);
crp->crp_etype = EFAULT;
- crp->crp_callback(crp);
+ crypto_done(crp);
} else {
break;
}
@@ -1685,7 +1685,7 @@ ubsec_free_q(struct ubsec_softc *sc, struct ubsec_q *q)
SIMPLEQ_INSERT_TAIL(&sc->sc_freequeue, q, q_next);
crp->crp_etype = EFAULT;
- crp->crp_callback(crp);
+ crypto_done(crp);
return(0);
}