aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r--net/ipv6/tcp_ipv6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index edef7eef8341..53f270995d8a 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -1084,7 +1084,7 @@ static void tcp_v6_send_ack(struct tcp_timewait_sock *tw,
1084 struct sk_buff *buff; 1084 struct sk_buff *buff;
1085 struct flowi fl; 1085 struct flowi fl;
1086 int tot_len = sizeof(struct tcphdr); 1086 int tot_len = sizeof(struct tcphdr);
1087 u32 *topt; 1087 __be32 *topt;
1088#ifdef CONFIG_TCP_MD5SIG 1088#ifdef CONFIG_TCP_MD5SIG
1089 struct tcp_md5sig_key *key; 1089 struct tcp_md5sig_key *key;
1090 struct tcp_md5sig_key tw_key; 1090 struct tcp_md5sig_key tw_key;
@@ -1128,7 +1128,7 @@ static void tcp_v6_send_ack(struct tcp_timewait_sock *tw,
1128 t1->ack = 1; 1128 t1->ack = 1;
1129 t1->window = htons(win); 1129 t1->window = htons(win);
1130 1130
1131 topt = (u32*)(t1 + 1); 1131 topt = (__be32 *)(t1 + 1);
1132 1132
1133 if (ts) { 1133 if (ts) {
1134 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | 1134 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) |