diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-14 20:56:00 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:22:52 -0800 |
commit | e69a4adc669fe210817ec50ae3f9a7a5ad62d4e8 (patch) | |
tree | de4666cd772f02aac4cbacf11251faeb54e99d1d /net/ipv6/ip6_tunnel.c | |
parent | b09b845ca6724c3bbdc00c0cb2313258c7189ca9 (diff) | |
download | linux-stable-e69a4adc669fe210817ec50ae3f9a7a5ad62d4e8.tar.gz linux-stable-e69a4adc669fe210817ec50ae3f9a7a5ad62d4e8.tar.bz2 linux-stable-e69a4adc669fe210817ec50ae3f9a7a5ad62d4e8.zip |
[IPV6]: Misc endianness annotations.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_tunnel.c')
-rw-r--r-- | net/ipv6/ip6_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 80a11909159d..25bc5ed49104 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c @@ -66,7 +66,7 @@ MODULE_LICENSE("GPL"); #define HASH_SIZE 32 -#define HASH(addr) (((addr)->s6_addr32[0] ^ (addr)->s6_addr32[1] ^ \ +#define HASH(addr) ((__force u32)((addr)->s6_addr32[0] ^ (addr)->s6_addr32[1] ^ \ (addr)->s6_addr32[2] ^ (addr)->s6_addr32[3]) & \ (HASH_SIZE - 1)) |