aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavem <davem>2001-12-21 05:05:41 +0000
committerdavem <davem>2001-12-21 05:05:41 +0000
commit83fa3970390a2cbe868cc2683f8aeb9a0ed562ac (patch)
tree91f1c6485d5176c104606a984a24b0d176a02048
parent4ee49e4f91287acb8738fbcb02e8b8e7a9d3893a (diff)
downloadnetdev-vger-cvs-83fa3970390a2cbe868cc2683f8aeb9a0ed562ac.tar.gz
Recognize timestamp negotiation properly
for ipv6, whoops. Fix from Alexey.
-rw-r--r--net/ipv6/tcp_ipv6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index aff2bd4ee..4af8d5232 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -5,7 +5,7 @@
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
- * $Id: tcp_ipv6.c,v 1.142 2001-11-06 22:21:08 davem Exp $
+ * $Id: tcp_ipv6.c,v 1.143 2001-12-21 05:05:41 davem Exp $
*
* Based on:
* linux/net/ipv4/tcp.c
@@ -1172,6 +1172,7 @@ static int tcp_v6_conn_request(struct sock *sk, struct sk_buff *skb)
tcp_parse_options(skb, &tp, 0);
+ tp.tstamp_ok = tp.saw_tstamp;
tcp_openreq_init(req, &tp, skb);
req->class = &or_ipv6;