diff options
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 2a9c39f8824e..4ce07dc25573 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -198,7 +198,7 @@ static inline void dev_base_seq_inc(struct net *net) | |||
198 | 198 | ||
199 | static inline struct hlist_head *dev_name_hash(struct net *net, const char *name) | 199 | static inline struct hlist_head *dev_name_hash(struct net *net, const char *name) |
200 | { | 200 | { |
201 | unsigned int hash = full_name_hash(name, strnlen(name, IFNAMSIZ)); | 201 | unsigned int hash = full_name_hash(net, name, strnlen(name, IFNAMSIZ)); |
202 | 202 | ||
203 | return &net->dev_name_head[hash_32(hash, NETDEV_HASHBITS)]; | 203 | return &net->dev_name_head[hash_32(hash, NETDEV_HASHBITS)]; |
204 | } | 204 | } |