HomeFreeBSD

Only define the 'tls' member of sfio in KERN_TLS is defined.

Description

Only define the 'tls' member of sfio in KERN_TLS is defined.

This field was not initialized in the !KERN_TLS case triggering an
assertion failure when using sendfile(2).

Reported by: pho, asomers
Sponsored by: Netflix

Details

Committed
jhbAug 27 2019, 10:21 PM
Parents
rS351557: Adjust the deprecated warnings for /dev/crypto to be less noisy.
Branches
Unknown
Tags
Unknown