Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276265
b: refs/heads/master
c: 8f89148
h: refs/heads/master
i:
  276263: 08d5bb3
v: v3
  • Loading branch information
RongQing.Li authored and David S. Miller committed Dec 1, 2011
1 parent 2c7693d commit 4be82ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: ea6a5d3b97b768561db6358f15e4c84ced0f4f7e
refs/heads/master: 8f891489866ec62a87494eff3ed17c88152c32d4
3 changes: 2 additions & 1 deletion trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ int register_netdevice_notifier(struct notifier_block *nb)
for_each_net(net) {
for_each_netdev(net, dev) {
if (dev == last)
break;
goto outroll;

if (dev->flags & IFF_UP) {
nb->notifier_call(nb, NETDEV_GOING_DOWN, dev);
Expand All @@ -1407,6 +1407,7 @@ int register_netdevice_notifier(struct notifier_block *nb)
}
}

outroll:
raw_notifier_chain_unregister(&netdev_chain, nb);
goto unlock;
}
Expand Down

0 comments on commit 4be82ad

Please sign in to comment.