aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-10-08 17:36:33 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-08 17:36:33 -0400
commit53b125779fb0b29e5b316bf3dc7d199e6dcea567 (patch)
tree1c6ba910a930b686662be302d0358044403b5cd1
parentdb2bf2476b2d99d91b4ce87e102dd3a61e92366f (diff)
tcpv6: fix option space offsets with md5
More breakage :-), part of timestamps just were previously overwritten. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv6/tcp_ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index e8b0fdd9edb..dd7bdde7bdd 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -1088,7 +1088,7 @@ static void tcp_v6_send_ack(struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32
1088 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | 1088 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) |
1089 (TCPOPT_TIMESTAMP << 8) | TCPOLEN_TIMESTAMP); 1089 (TCPOPT_TIMESTAMP << 8) | TCPOLEN_TIMESTAMP);
1090 *topt++ = htonl(tcp_time_stamp); 1090 *topt++ = htonl(tcp_time_stamp);
1091 *topt = htonl(ts); 1091 *topt++ = htonl(ts);
1092 } 1092 }
1093 1093
1094#ifdef CONFIG_TCP_MD5SIG 1094#ifdef CONFIG_TCP_MD5SIG