summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2005-09-10 07:45:10 +0000
committerpjd <pjd@FreeBSD.org>2005-09-10 07:45:10 +0000
commite1cf625a5fd2dc0657c6bbbcf42418c9bd37cc88 (patch)
treefeb8ae8377d66d1c60b6ebb89539da7e271f3f79 /sys/geom
parent37d27a5a23a55f381f02d1af656bb44d2873d87a (diff)
downloadFreeBSD-src-e1cf625a5fd2dc0657c6bbbcf42418c9bd37cc88.zip
FreeBSD-src-e1cf625a5fd2dc0657c6bbbcf42418c9bd37cc88.tar.gz
Don't forget to initialize crp_etype field.
Reported by: Nick Evans <nevans@syphen.net> MFC after: 3 days
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/eli/g_eli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/eli/g_eli.c b/sys/geom/eli/g_eli.c
index 1afafa1..2da3b11 100644
--- a/sys/geom/eli/g_eli.c
+++ b/sys/geom/eli/g_eli.c
@@ -535,6 +535,7 @@ g_eli_crypto_run(struct g_eli_worker *wr, struct bio *bp)
sizeof(crd->crd_iv));
crd->crd_next = NULL;
+ crp->crp_etype = 0;
err = crypto_dispatch(crp);
if (error == 0)
error = err;
OpenPOWER on IntegriCloud