Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321989
b: refs/heads/master
c: 4acd494
h: refs/heads/master
i:
  321987: 8cd40f3
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Aug 15, 2012
1 parent 8c9e093 commit b34045f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 499b95f6b324ec49e8ff50000d47877445b8590a
refs/heads/master: 4acd4945cd1e1f92b20d14e349c6c6a52acbd42d
4 changes: 1 addition & 3 deletions trunk/net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,7 @@ static void addrconf_forward_change(struct net *net, __s32 newf)
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);
Expand All @@ -504,7 +503,6 @@ static void addrconf_forward_change(struct net *net, __s32 newf)
dev_forward_change(idev);
}
}
rcu_read_unlock();
}

static int addrconf_fixup_forwarding(struct ctl_table *table, int *p, int newf)
Expand Down

0 comments on commit b34045f

Please sign in to comment.