HomeFreeBSD

Increment the correct pointer when a crypto buffer spans an mbuf or iovec.

Description

Increment the correct pointer when a crypto buffer spans an mbuf or iovec.

When a crypto_cursor_copyback() request spanned multiple mbufs or
iovecs, the pointer into the mbuf/iovec was incremented instead of the
pointer into the source buffer being copied from.

PR: 246737
Reported by: Jenkins, ZFS test suite
Sponsored by: Netflix

Details

Provenance
jhbAuthored on
Parents
rS361616: Move EXPDATASN/R2TSN from PDU to CTL_PRIV_FRONTEND.
Branches
Unknown
Tags
Unknown