diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2015-11-05 20:03:05 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2015-11-05 20:03:05 +0000 |
commit | 96c1242516bebf535ce0b2b307ade9280c9108a7 (patch) | |
tree | a31cf3d68591ae3dca4b3977ec07af03fe9ab7c0 /sys | |
parent | 6179f955223c5e6261e6b01111a08e45fb9661fe (diff) |
explicitly say that we use uio for our crypto operations; ok mikeb@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/softraid_crypto.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/softraid_crypto.c b/sys/dev/softraid_crypto.c index c9a94c3462c..f6bd47eb6cd 100644 --- a/sys/dev/softraid_crypto.c +++ b/sys/dev/softraid_crypto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_crypto.c,v 1.122 2015/07/27 04:11:58 halex Exp $ */ +/* $OpenBSD: softraid_crypto.c,v 1.123 2015/11/05 20:03:04 naddy Exp $ */ /* * Copyright (c) 2007 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Hans-Joerg Hoexer <hshoexer@openbsd.org> @@ -295,6 +295,7 @@ sr_crypto_prepare(struct sr_workunit *wu, int encrypt) crwu->cr_crp->crp_opaque = crwu; crwu->cr_crp->crp_ilen = xs->datalen; crwu->cr_crp->crp_alloctype = M_DEVBUF; + crwu->cr_crp->crp_flags = CRYPTO_F_IOV; crwu->cr_crp->crp_buf = &crwu->cr_uio; for (i = 0, crd = crwu->cr_crp->crp_desc; crd; i++, blkno++, crd = crd->crd_next) { |