diff --git a/net/core/dev.c b/net/core/dev.c index b624fe4d9bd7ce408ab93d324ad7cc8413d8f4b8..30a4078b3fa27011079c7ae31d0ab828593849f1 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1007,7 +1007,7 @@ int dev_change_name(struct net_device *dev, const char *newname) } write_lock_bh(&dev_base_lock); - hlist_del(&dev->name_hlist); + hlist_del_rcu(&dev->name_hlist); write_unlock_bh(&dev_base_lock); synchronize_rcu();