Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53b12577 authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by David S. Miller
Browse files

tcpv6: fix option space offsets with md5



More breakage :-), part of timestamps just were previously
overwritten.

Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent db2bf247
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1088,7 +1088,7 @@ static void tcp_v6_send_ack(struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32
		*topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) |
				(TCPOPT_TIMESTAMP << 8) | TCPOLEN_TIMESTAMP);
		*topt++ = htonl(tcp_time_stamp);
		*topt = htonl(ts);
		*topt++ = htonl(ts);
	}

#ifdef CONFIG_TCP_MD5SIG