Don't forget to initialize crp_olen field, which is used to calculate
bio_completed value.
This commit is contained in:
parent
5362e27b6d
commit
8cfab1debb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user