ipv6: split inet6_ehashfn to hash functions per compilation unit
[deliverable/linux.git] / include / net / ipv6.h
index fe1c7f6c92177e6ef47165078cb0eb0909eb07eb..a35055f4f8da1b280cba2e893ec361399694a5f3 100644 (file)
@@ -539,14 +539,14 @@ static inline u32 ipv6_addr_hash(const struct in6_addr *a)
 }
 
 /* more secured version of ipv6_addr_hash() */
-static inline u32 ipv6_addr_jhash(const struct in6_addr *a)
+static inline u32 __ipv6_addr_jhash(const struct in6_addr *a, const u32 initval)
 {
        u32 v = (__force u32)a->s6_addr32[0] ^ (__force u32)a->s6_addr32[1];
 
        return jhash_3words(v,
                            (__force u32)a->s6_addr32[2],
                            (__force u32)a->s6_addr32[3],
-                           ipv6_hash_secret);
+                           initval);
 }
 
 static inline bool ipv6_addr_loopback(const struct in6_addr *a)
This page took 0.038212 seconds and 5 git commands to generate.