aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 31f2c97d1990..7cf15d2bf78d 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1239,7 +1239,7 @@ rollback:
netdev_name_node_del(dev->name_node);
write_unlock(&dev_base_lock);
- synchronize_rcu();
+ synchronize_net();
write_lock(&dev_base_lock);
netdev_name_node_add(net, dev->name_node);