diff options
-rw-r--r-- | net/ipv6/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index f4c85b200051..69ebdbe78c47 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c | |||
@@ -89,7 +89,7 @@ static unsigned int udp6_portaddr_hash(struct net *net, | |||
89 | 89 | ||
90 | if (ipv6_addr_any(addr6)) | 90 | if (ipv6_addr_any(addr6)) |
91 | hash = jhash_1word(0, mix); | 91 | hash = jhash_1word(0, mix); |
92 | else if (ipv6_addr_type(addr6) == IPV6_ADDR_MAPPED) | 92 | else if (ipv6_addr_v4mapped(addr6)) |
93 | hash = jhash_1word(addr6->s6_addr32[3], mix); | 93 | hash = jhash_1word(addr6->s6_addr32[3], mix); |
94 | else | 94 | else |
95 | hash = jhash2(addr6->s6_addr32, 4, mix); | 95 | hash = jhash2(addr6->s6_addr32, 4, mix); |