projects
/
linux-flexiantxendom0-natty.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: use hlist_del_rcu() in dev_change_name()
[linux-flexiantxendom0-natty.git]
/
net
/
core
/
dev.c
diff --git
a/net/core/dev.c
b/net/core/dev.c
index
af0995d
..
2bb4aa6
100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-1006,7
+1006,7
@@
rollback:
}
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();