Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Remove TCP_COMPAT_42.



details:   https://anonhg.NetBSD.org/src/rev/3f77114aaeec
branches:  trunk
changeset: 355444:3f77114aaeec
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Jul 29 05:46:29 2017 +0000

description:
Remove TCP_COMPAT_42.

diffstat:

 share/man/man4/options.4  |  19 ++-----------------
 sys/netinet/files.netinet |   3 +--
 2 files changed, 3 insertions(+), 19 deletions(-)

diffs (57 lines):

diff -r b55442dde5aa -r 3f77114aaeec share/man/man4/options.4
--- a/share/man/man4/options.4  Sat Jul 29 05:08:48 2017 +0000
+++ b/share/man/man4/options.4  Sat Jul 29 05:46:29 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: options.4,v 1.467 2017/07/03 21:30:58 wiz Exp $
+.\"    $NetBSD: options.4,v 1.468 2017/07/29 05:46:29 maxv Exp $
 .\"
 .\" Copyright (c) 1996
 .\"    Perry E. Metzger.  All rights reserved.
@@ -30,7 +30,7 @@
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\"
-.Dd March 9, 2017
+.Dd July 29, 2017
 .Dt OPTIONS 4
 .Os
 .Sh NAME
@@ -2012,21 +2012,6 @@
 privileges to bind those ports, e.g., on firewalls.
 The security tradeoffs in doing this are subtle.
 This option should only be used by experts.
-.It Cd options TCP_COMPAT_42
-.Tn TCP
-bug compatibility with
-.Bx 4.2 .
-In
-.Bx 4.2 ,
-.Tn TCP
-sequence numbers were 32-bit signed values.
-Modern implementations of TCP use unsigned values.
-This option clamps the initial sequence number to start in
-the range 2^31 rather than the full unsigned range of 2^32.
-Also, under
-.Bx 4.2 ,
-keepalive packets must contain at least one byte or else
-the remote end would not respond.
 .It Cd options TCP_DEBUG
 Record the last
 .Em TCP_NDEBUG
diff -r b55442dde5aa -r 3f77114aaeec sys/netinet/files.netinet
--- a/sys/netinet/files.netinet Sat Jul 29 05:08:48 2017 +0000
+++ b/sys/netinet/files.netinet Sat Jul 29 05:46:29 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.netinet,v 1.27 2015/10/13 21:28:35 rjs Exp $
+#      $NetBSD: files.netinet,v 1.28 2017/07/29 05:48:16 maxv Exp $
 
 defflag opt_tcp_debug.h                TCP_DEBUG
 defparam opt_tcp_debug.h       TCP_NDEBUG
@@ -8,7 +8,6 @@
 
 defflag                                MROUTING
 defflag                                PIM
-defflag                                TCP_COMPAT_42
 
 defparam opt_tcp_space.h       TCP_RECVSPACE TCP_SENDSPACE
 



Home | Main Index | Thread Index | Old Index