Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85654
b: refs/heads/master
c: d8b2a4d
h: refs/heads/master
v: v3
  • Loading branch information
Matti Linnanvuori authored and David S. Miller committed Feb 13, 2008
1 parent 65f2278 commit 120a4ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: b318e0e4ef4e85812c25afa19f75addccc834cd4
refs/heads/master: d8b2a4d21e0b37b9669b202867bfef19f68f786a
4 changes: 2 additions & 2 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1071,8 +1071,6 @@ int dev_close(struct net_device *dev)
*/
call_netdevice_notifiers(NETDEV_GOING_DOWN, dev);

dev_deactivate(dev);

clear_bit(__LINK_STATE_START, &dev->state);

/* Synchronize to scheduled poll. We cannot touch poll list,
Expand All @@ -1083,6 +1081,8 @@ int dev_close(struct net_device *dev)
*/
smp_mb__after_clear_bit(); /* Commit netif_running(). */

dev_deactivate(dev);

/*
* Call the device specific close. This cannot fail.
* Only if device is UP
Expand Down

0 comments on commit 120a4ee

Please sign in to comment.