mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue