summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@nuts.ninka.net>2003-10-24 09:02:57 -0700
committerDavid S. Miller <davem@nuts.ninka.net>2003-10-24 09:02:57 -0700
commit20b58805034f95684abe868ccbac1df7fdac0e39 (patch)
tree520ff6b82edd7a699518ddbe6a2184b75d9783ed
parent1c5d4fe5eee352b0e778376884994ccf37c7821a (diff)
[TCP]: Zero initial timestamps are valid, Windows XP emits these.
-rw-r--r--net/ipv4/tcp_ipv4.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 357727193da8..f8ed24da50be 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -1465,15 +1465,6 @@ int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb)
tp.saw_tstamp = 0;
}
- if (tp.saw_tstamp && !tp.rcv_tsval) {
- /* Some OSes (unknown ones, but I see them on web server, which
- * contains information interesting only for windows'
- * users) do not send their stamp in SYN. It is easy case.
- * We simply do not advertise TS support.
- */
- tp.saw_tstamp = 0;
- tp.tstamp_ok = 0;
- }
tp.tstamp_ok = tp.saw_tstamp;
tcp_openreq_init(req, &tp, skb);