git: c5a365623f88 - main - Correct the name of the structure used for TCP socket options.

John Baldwin jhb at FreeBSD.org
Mon Mar 8 18:49:15 UTC 2021


The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=c5a365623f88999b524d94003187ef09fda55f67

commit c5a365623f88999b524d94003187ef09fda55f67
Author:     John Baldwin <jhb at FreeBSD.org>
AuthorDate: 2021-03-08 18:46:40 +0000
Commit:     John Baldwin <jhb at FreeBSD.org>
CommitDate: 2021-03-08 18:46:40 +0000

    Correct the name of the structure used for TCP socket options.
    
    The structure was renamed while refactoring Netflix's KTLS changes for
    upstreaming, but the original name remained in tcp.4 and was
    subsequently copied to ktls.4.
    
    PR:             254141
    Reported by:    asomers
    MFC after:      3 days
---
 share/man/man4/ktls.4 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/share/man/man4/ktls.4 b/share/man/man4/ktls.4
index 21e1a1bdb6ca..648eeaedfa6a 100644
--- a/share/man/man4/ktls.4
+++ b/share/man/man4/ktls.4
@@ -31,7 +31,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 8, 2021
+.Dd March 8, 2021
 .Dt KTLS 4
 .Os
 .Sh NAME
@@ -54,7 +54,7 @@ and
 .Dv TCP_RXTLS_ENABLE
 socket options.
 Both socket options accept a
-.Vt struct tls_so_enable
+.Vt struct tls_enable
 structure as their argument.
 The members of this structure describe the cipher suite used for the
 TLS session and provide the session keys used for the respective
@@ -166,7 +166,7 @@ will fail with one of the following errors:
 .It Bq Er EINVAL
 The version fields in a TLS record's header did not match the version required
 by the
-.Vt struct tls_so_enable
+.Vt struct tls_enable
 structure used to enable in-kernel TLS.
 .It Bq Er EMSGSIZE
 A TLS record's length was either too small or too large.


More information about the dev-commits-src-main mailing list