diff options
author | 2015-11-05 20:03:04 +0000 | |
---|---|---|
committer | 2015-11-05 20:03:04 +0000 | |
commit | 3ac45bdc24565aa76aa21564f3b1b740b7ef29cf (patch) | |
tree | 3a2baf45eb01bff2ab7c9bf43edaad8002c07748 | |
parent | Fix build with DEBUG_INTC defined; from Daniel Bolgheroni on tech@ (diff) | |
download | wireguard-openbsd-3ac45bdc24565aa76aa21564f3b1b740b7ef29cf.tar.xz wireguard-openbsd-3ac45bdc24565aa76aa21564f3b1b740b7ef29cf.zip |
explicitly say that we use uio for our crypto operations; ok mikeb@
-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) { |