Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F114732895
D36874.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
865 B
Referenced Files
None
Subscribers
None
D36874.diff
View Options
diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4
--- a/share/man/man4/tcp.4
+++ b/share/man/man4/tcp.4
@@ -34,7 +34,7 @@
.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93
.\" $FreeBSD$
.\"
-.Dd August 1, 2022
+.Dd October 7, 2022
.Dt TCP 4
.Os
.Sh NAME
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -1679,12 +1679,12 @@
* A timestamp received in a SYN makes
* it ok to send timestamp requests and replies.
*/
- if (to->to_flags & TOF_TS) {
+ if ((to->to_flags & TOF_TS) && (V_tcp_do_rfc1323 != 2)) {
sc->sc_tsreflect = to->to_tsval;
sc->sc_flags |= SCF_TIMESTAMP;
sc->sc_tsoff = tcp_new_ts_offset(inc);
}
- if (to->to_flags & TOF_SCALE) {
+ if ((to->to_flags & TOF_SCALE) && (V_tcp_do_rfc1323 != 3)) {
int wscale = 0;
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 17, 2:31 AM (19 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17572745
Default Alt Text
D36874.diff (865 B)
Attached To
Mode
D36874: tcp: honor rfc1323 sysctl in passive sessions
Attached
Detach File
Event Timeline
Log In to Comment