Page MenuHomeFreeBSD

D36874.diff
No OneTemporary

D36874.diff

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

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)

Event Timeline