From nobody Mon Oct 31 16:03:31 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N1Hxv5Jq9z4gZ9H; Mon, 31 Oct 2022 16:03:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N1Hxv4kQVz3Ym2; Mon, 31 Oct 2022 16:03:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667232211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1R5rtIdnQ5z3xqsyGVRwp+NaxtfKX/5Xtu/mNEfVHq8=; b=FxV5bTY58JVdv1HtE8ETfVC09xsfZS5KiMCTfg9El3B2z4pZTQwgUF8Z/uBzyWmPiuX2LA nPIP5aJch2VFpQhAqJxYSgnGBWFO+CYvxeaSaIYUkpoN9j88QSFVQrbIbMY4DjguisH5Td 395sKhtNGuiD0CGnATd5vyWGh/pifrwWHug2v7r0zRlUp3gY01tLLOcQzn0DpQHRO2SAlW 7pziLT43Jaso9577QWK8osEs7ofRYFx9xbnOs4IeKKGqYLnWV9Nqbubi92pLsHLsR64Y6k 8orIWYNEOUm9nqJ0S+KMTG5tYcdah+Tj3489EwMrrs377oXvBNHcuCvVEJdUOw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N1Hxv3m6bzj6H; Mon, 31 Oct 2022 16:03:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29VG3V7m004129; Mon, 31 Oct 2022 16:03:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29VG3VLZ004128; Mon, 31 Oct 2022 16:03:31 GMT (envelope-from git) Date: Mon, 31 Oct 2022 16:03:31 GMT Message-Id: <202210311603.29VG3VLZ004128@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: 620042a66b68 - main - tcp.4: undocument compressed TIME_WAIT List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 620042a66b682939bdfb0eb6db120453d29b0e4a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667232211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1R5rtIdnQ5z3xqsyGVRwp+NaxtfKX/5Xtu/mNEfVHq8=; b=KMsqz7Zz6qSKdNDpsPA4nn2MPqycXdYIG/yhHKdy7eYKg4kIWrBu0L8OErLHMX/7fumLR0 4bF9QRO0tjHRwGZ2BokDBFG+dsiUEgpWusZV08c9wYsXfoDJKu+p78JDMPB7AyfKGLRV+e ni6zCtriSHL+vleTe5a76YQxEr0dW7FSj7sDR+CmDC19tS+AFXOmVLSzr904teDBwGHjZf GdcikKeUV1eGCWHiW5HBQ6Lo2SPdvRBQ91pjQcnqiVfw4VzIlOyZ5+qRz2yLBMPxG8iT6k oo5MvQefbOK5V/S524MN1LQtieAG1Dpq3eM84s03htItArtMvWX3rkIfGAIAEg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667232211; a=rsa-sha256; cv=none; b=FD89kYdr5GC+HAp4ZKEAdXgJ9UIbmO7sdL2uOgXEgsfNnbOLgyStjkX5/YxWoyJX6Yrv0c W/zGhO8T5HGywFvtVFzxP2vIiTnJD6jL9Wn+XjSVbUciY8Hw31++s9VfHGl1cLgSHyf5xT 9Y1JWFbDeGb6EQSG+KQ0lvYg20Onsb3delwlr7sv8Iw/DyjxdvijcCz9XUkcY+yvU+WFrf uW4494LZ4NQJGqcxtvzWhDeEWqjNlRKHnxwOjnzxm5ykQx2bbehUDi5dyxijht4tNOLxtu muA1NldViEv5cempNWRVghfVwKLlxUs0KBF47ASHLzUGAQI+ph49yg6iY00Alw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=620042a66b682939bdfb0eb6db120453d29b0e4a commit 620042a66b682939bdfb0eb6db120453d29b0e4a Author: Gleb Smirnoff AuthorDate: 2022-10-31 16:02:33 +0000 Commit: Gleb Smirnoff CommitDate: 2022-10-31 16:02:33 +0000 tcp.4: undocument compressed TIME_WAIT --- share/man/man4/tcp.4 | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4 index ba5d57bcf46c..1fca883a7d15 100644 --- a/share/man/man4/tcp.4 +++ b/share/man/man4/tcp.4 @@ -753,23 +753,6 @@ A value of 2 results in any packets to closed ports being logged. Any value not listed above disables the logging (default is 0, i.e., the logging is disabled). -.It Va maxtcptw -When a TCP connection enters the -.Dv TIME_WAIT -state, its associated socket structure is freed, since it is of -negligible size and use, and a new structure is allocated to contain a -minimal amount of information necessary for sustaining a connection in -this state, called the compressed TCP -.Dv TIME_WAIT -state. -Since this structure is smaller than a socket structure, it can save -a significant amount of system memory. -The -.Va net.inet.tcp.maxtcptw -MIB variable controls the maximum number of these structures allocated. -By default, it is initialized to -.Va kern.ipc.maxsockets -/ 5. .It Va minmss Minimum TCP Maximum Segment Size; used to prevent a denial of service attack from an unreasonably low MSS. @@ -786,7 +769,7 @@ application limited and the network bandwidth is not utilized completely. That prevents self-inflicted packet losses once the application starts to transmit data at a higher speed. .It Va nolocaltimewait -Suppress creation of compressed TCP +Suppress creation of TCP .Dv TIME_WAIT states for connections in which both endpoints are local.