diff --git a/[refs] b/[refs] index f2278afbb228..f4fcf6757f08 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7e5ca6a22de8fa79897daae51d76b473e44f8066 +refs/heads/master: 08e9897d512fe7a67e46209543b3815b57a36dc7 diff --git a/trunk/net/core/dev.c b/trunk/net/core/dev.c index bf629ac08b87..ad8e320ceba7 100644 --- a/trunk/net/core/dev.c +++ b/trunk/net/core/dev.c @@ -79,6 +79,7 @@ #include #include #include +#include #include #include #include @@ -196,7 +197,7 @@ EXPORT_SYMBOL(dev_base_lock); static inline struct hlist_head *dev_name_hash(struct net *net, const char *name) { unsigned hash = full_name_hash(name, strnlen(name, IFNAMSIZ)); - return &net->dev_name_head[hash & (NETDEV_HASHENTRIES - 1)]; + return &net->dev_name_head[hash_32(hash, NETDEV_HASHBITS)]; } static inline struct hlist_head *dev_index_hash(struct net *net, int ifindex)