Merge branch 'salted-string-hash'
[linux-2.6-block.git] / net / core / dev.c
index 2a9c39f8824e027cbf0ea344f64273bdf971dce9..4ce07dc25573ed3d20f181f5b36327cb0f407fe3 100644 (file)
@@ -198,7 +198,7 @@ static inline void dev_base_seq_inc(struct net *net)
 
 static inline struct hlist_head *dev_name_hash(struct net *net, const char *name)
 {
-       unsigned int hash = full_name_hash(name, strnlen(name, IFNAMSIZ));
+       unsigned int hash = full_name_hash(net, name, strnlen(name, IFNAMSIZ));
 
        return &net->dev_name_head[hash_32(hash, NETDEV_HASHBITS)];
 }