|
@@ -5066,6 +5066,7 @@ static void rollback_registered(struct net_device *dev)
|
|
|
|
|
|
list_add(&dev->unreg_list, &single);
|
|
list_add(&dev->unreg_list, &single);
|
|
rollback_registered_many(&single);
|
|
rollback_registered_many(&single);
|
|
|
|
+ list_del(&single);
|
|
}
|
|
}
|
|
|
|
|
|
unsigned long netdev_fix_features(unsigned long features, const char *name)
|
|
unsigned long netdev_fix_features(unsigned long features, const char *name)
|
|
@@ -6219,6 +6220,7 @@ static void __net_exit default_device_exit_batch(struct list_head *net_list)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
unregister_netdevice_many(&dev_kill_list);
|
|
unregister_netdevice_many(&dev_kill_list);
|
|
|
|
+ list_del(&dev_kill_list);
|
|
rtnl_unlock();
|
|
rtnl_unlock();
|
|
}
|
|
}
|
|
|
|
|