HomeFreeBSD

ktls: deep copy tls_enable struct for in-kernel tcp consumers

Description

ktls: deep copy tls_enable struct for in-kernel tcp consumers

Doing a deep copy of the keys early allows users of the
tls_enable structure to assume kernel memory.
This enables the socket options to be set by kernel threads.

Reviewed By: transport, tuexen, jhb, rrs
Sponsored by: NetApp, Inc.
X-NetApp-PR: #79
Differential Revision: https://reviews.freebsd.org/D44250

Details

Provenance
rscheffAuthored on Mar 13 2024, 11:35 AM
Reviewer
transport
Differential Revision
D44250: Deep copy tls_enable struct in copyin_tls_enable
Parents
rGbf8a3a816d4b: libc/softfloat: we don't export _fp[gs]et* symbols
Branches
Unknown
Tags
Unknown