aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/core/dev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index a18c1643ea9f..8ae6631abcc2 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -5066,6 +5066,7 @@ static void rollback_registered(struct net_device *dev)
5066 5066
5067 list_add(&dev->unreg_list, &single); 5067 list_add(&dev->unreg_list, &single);
5068 rollback_registered_many(&single); 5068 rollback_registered_many(&single);
5069 list_del(&single);
5069} 5070}
5070 5071
5071unsigned long netdev_fix_features(unsigned long features, const char *name) 5072unsigned 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)
6219 } 6220 }
6220 } 6221 }
6221 unregister_netdevice_many(&dev_kill_list); 6222 unregister_netdevice_many(&dev_kill_list);
6223 list_del(&dev_kill_list);
6222 rtnl_unlock(); 6224 rtnl_unlock();
6223} 6225}
6224 6226