Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66397
b: refs/heads/master
c: 9d5010d
h: refs/heads/master
i:
  66395: 7e1bf01
v: v3
  • Loading branch information
David S. Miller authored and David S. Miller committed Oct 10, 2007
1 parent 107e949 commit 12fa953
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86bba269d08f0c545ae76c90b56727f65d62d57f
refs/heads/master: 9d5010db7ecfd6ec00119d3b185c4c0cd3265167
2 changes: 2 additions & 0 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,8 @@ int dev_open(struct net_device *dev)
*/
int dev_close(struct net_device *dev)
{
might_sleep();

if (!(dev->flags & IFF_UP))
return 0;

Expand Down

0 comments on commit 12fa953

Please sign in to comment.