X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=net%2Fcore%2Fdev.c;h=7f7d7ef1caa568b99d2d1daca045fa988c696d95;hb=8387ff2577eb9ed245df9a39947f66976c6bcd02;hp=904ff431d570e3cfc0e6255480bd25f3c9dec2f3;hpb=5b26fc8824da15a2fe9df89338a5a3cad41ba8ee;p=linux-2.6-block.git diff --git a/net/core/dev.c b/net/core/dev.c index 904ff431d570..7f7d7ef1caa5 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -196,7 +196,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)]; }