ipv6: Use universal hash for NDISC.
[deliverable/linux.git] / include / net / arp.h
index 4979af8b15599adcbc6309c902be3caa325b6e67..0013dc87940bf17c77a1a0c083b60c5c2f6a0a57 100644 (file)
@@ -23,7 +23,7 @@ static inline struct neighbour *__ipv4_neigh_lookup(struct neigh_table *tbl, str
 
        rcu_read_lock_bh();
        nht = rcu_dereference_bh(tbl->nht);
-       hash_val = arp_hashfn(key, dev, nht->hash_rnd) >> (32 - nht->hash_shift);
+       hash_val = arp_hashfn(key, dev, nht->hash_rnd[0]) >> (32 - nht->hash_shift);
        for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]);
             n != NULL;
             n = rcu_dereference_bh(n->next)) {
This page took 0.02508 seconds and 5 git commands to generate.