projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: reinstate rtnl in call_netdevice_notifiers()
[deliverable/linux.git]
/
net
/
ipv6
/
addrconf.c
diff --git
a/net/ipv6/addrconf.c
b/net/ipv6/addrconf.c
index 79181819a24fa7d3ed67b5a4c22d44e51945da63..6bc85f7c31e3c58a01a6d1aa351cd827584fad24 100644
(file)
--- a/
net/ipv6/addrconf.c
+++ b/
net/ipv6/addrconf.c
@@
-494,8
+494,7
@@
static void addrconf_forward_change(struct net *net, __s32 newf)
struct net_device *dev;
struct inet6_dev *idev;
struct net_device *dev;
struct inet6_dev *idev;
- rcu_read_lock();
- for_each_netdev_rcu(net, dev) {
+ for_each_netdev(net, dev) {
idev = __in6_dev_get(dev);
if (idev) {
int changed = (!idev->cnf.forwarding) ^ (!newf);
idev = __in6_dev_get(dev);
if (idev) {
int changed = (!idev->cnf.forwarding) ^ (!newf);
@@
-504,7
+503,6
@@
static void addrconf_forward_change(struct net *net, __s32 newf)
dev_forward_change(idev);
}
}
dev_forward_change(idev);
}
}
- rcu_read_unlock();
}
static int addrconf_fixup_forwarding(struct ctl_table *table, int *p, int newf)
}
static int addrconf_fixup_forwarding(struct ctl_table *table, int *p, int newf)
This page took
0.026816 seconds
and
5
git commands to generate.