HomeFreeBSD

ktls: Write-lock the INP when changing a transmit TLS session.

Description

ktls: Write-lock the INP when changing a transmit TLS session.

The TCP rate pacing code relies on being able to read this pointer
safely while holding an INP lock. The initial TLS session pointer is
set while holding the write lock already.

Reviewed by: gallatin, hselasky
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D34086

Details

Provenance
jhbAuthored on Feb 11 2022, 11:16 PM
Reviewer
gallatin
Differential Revision
D34086: ktls: Write-lock the INP when changing a transmit TLS session.
Parents
rGfd8d4e53bc2a: vdso linker scripts: explicitly specify output arch and target
Branches
Unknown
Tags
Unknown