aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 155de2094e71..d94537914a71 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -5126,7 +5126,7 @@ static void rollback_registered_many(struct list_head *head)
5126 list_del(&dev->unreg_list); 5126 list_del(&dev->unreg_list);
5127 continue; 5127 continue;
5128 } 5128 }
5129 5129 dev->dismantle = true;
5130 BUG_ON(dev->reg_state != NETREG_REGISTERED); 5130 BUG_ON(dev->reg_state != NETREG_REGISTERED);
5131 } 5131 }
5132 5132