git: 3b9e12f66e0c - releng/13.0 - Correct the name of the structure used for TCP socket options.

John Baldwin jhb at FreeBSD.org
Thu Mar 11 23:38:27 UTC 2021


The branch releng/13.0 has been updated by jhb:

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

commit 3b9e12f66e0cfd0c7db0eda9f72770499a6408b8
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-11 23:37:45 +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
    Approved by:    re (gjb)
    
    (cherry picked from commit c5a365623f88999b524d94003187ef09fda55f67)
    (cherry picked from commit 0fc5395122b4b50564f3dc9164830a0d1635b622)
---
 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-all mailing list