HomeFreeBSD

Modify ktls_decrypt() slightly, so that a small iov is allocated on

Description

Modify ktls_decrypt() slightly, so that a small iov is allocated on
the stack. As such, it only needs to malloc larger ones.
Since most NFS RPC messages only need an iov of size 1 or 2, it
seemed to be overkill to malloc/free for those cases.

This is not needed for correct behaviour and it will be up to
jhb@ whether or not this patch gets applied to his KTLS RX patch.

Details

Provenance
rmacklemAuthored on
Parents
rS360859: Add some very basic handling of TLS_GET_RECORD control mbufs.
Branches
Unknown
Tags
Unknown