Skip to content

Commit 53b1257

Browse files
ij1davem330
authored andcommitted
tcpv6: fix option space offsets with md5
More breakage :-), part of timestamps just were previously overwritten. Signed-off-by: Ilpo Järvinen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent db2bf24 commit 53b1257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv6/tcp_ipv6.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ static void tcp_v6_send_ack(struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32
10881088
*topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) |
10891089
(TCPOPT_TIMESTAMP << 8) | TCPOLEN_TIMESTAMP);
10901090
*topt++ = htonl(tcp_time_stamp);
1091-
*topt = htonl(ts);
1091+
*topt++ = htonl(ts);
10921092
}
10931093

10941094
#ifdef CONFIG_TCP_MD5SIG

0 commit comments

Comments
 (0)