1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-24 16:10:11 +00:00

Don't forget to initialize crp_olen field, which is used to calculate

bio_completed value.
This commit is contained in:
Pawel Jakub Dawidek 2006-07-22 10:05:55 +00:00
parent 5362e27b6d
commit 8cfab1debb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160569

View File

@ -483,6 +483,7 @@ g_eli_auth_run(struct g_eli_worker *wr, struct bio *bp)
crp->crp_sid = wr->w_sid;
crp->crp_ilen = uio->uio_resid;
crp->crp_olen = data_secsize;
crp->crp_opaque = (void *)bp;
crp->crp_buf = (void *)uio;
crp->crp_flags = CRYPTO_F_IOV | CRYPTO_F_CBIFSYNC | CRYPTO_F_REL;