Page MenuHomeFreeBSD

fix sosend() so that it can handle an mbuf list for KTLS
ClosedPublic

Authored by rmacklem on May 2 2020, 11:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 18 2024, 1:33 AM
Unknown Object (File)
Sep 15 2024, 5:35 PM
Unknown Object (File)
Sep 8 2024, 12:45 PM
Unknown Object (File)
Sep 8 2024, 11:26 AM
Unknown Object (File)
Sep 7 2024, 8:23 PM
Unknown Object (File)
Aug 12 2024, 1:41 AM
Unknown Object (File)
Aug 4 2024, 7:47 AM
Unknown Object (File)
Jul 29 2024, 7:00 AM
Subscribers

Details

Summary

When the nfs-over-tls krpc calls sosend() with a list of ext_pgs
mbufsto be handled via the ktls, ktls_frame() needs to be
called on them.

This patch just does the same call as the case where the data
has been copied in via m_uiotombuf() below where the patch
is applied.

I'll admit I don't understand if/when tls_rtype is not TLS_RLTYPE_APP,
but I did what the m_uiotombuf() case already does.

Test Plan

It has seen minimal testing using nfs-over-tls sofar,
but I will be doing further testing soon.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 30873