diff options
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index bd5ef7b6e48e..a92b4a5cd8bf 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -1234,12 +1234,12 @@ static int tcp_v6_conn_request(struct sock *sk, struct sk_buff *skb) | |||
1234 | goto drop_and_free; | 1234 | goto drop_and_free; |
1235 | 1235 | ||
1236 | /* Secret recipe starts with IP addresses */ | 1236 | /* Secret recipe starts with IP addresses */ |
1237 | d = &ipv6_hdr(skb)->daddr.s6_addr32[0]; | 1237 | d = (__force u32 *)&ipv6_hdr(skb)->daddr.s6_addr32[0]; |
1238 | *mess++ ^= *d++; | 1238 | *mess++ ^= *d++; |
1239 | *mess++ ^= *d++; | 1239 | *mess++ ^= *d++; |
1240 | *mess++ ^= *d++; | 1240 | *mess++ ^= *d++; |
1241 | *mess++ ^= *d++; | 1241 | *mess++ ^= *d++; |
1242 | d = &ipv6_hdr(skb)->saddr.s6_addr32[0]; | 1242 | d = (__force u32 *)&ipv6_hdr(skb)->saddr.s6_addr32[0]; |
1243 | *mess++ ^= *d++; | 1243 | *mess++ ^= *d++; |
1244 | *mess++ ^= *d++; | 1244 | *mess++ ^= *d++; |
1245 | *mess++ ^= *d++; | 1245 | *mess++ ^= *d++; |