X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fcore%2Fdev.c;h=4ce07dc25573ed3d20f181f5b36327cb0f407fe3;hb=0cda611386b2fcbf8bb32e9a5d82bfed4856fc36;hp=2a9c39f8824e027cbf0ea344f64273bdf971dce9;hpb=66304207cd341045df34195b4a8d422075bff513;p=karo-tx-linux.git 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) 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)]; }