Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96226
b: refs/heads/master
c: e46b66b
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed May 8, 2008
1 parent 86015ff commit ad4d57f
Show file tree
Hide file tree
Showing 2 changed files with 5 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: c2ab7ac225e29006b7117d6a9fe8f3be8d98b0c2
refs/heads/master: e46b66bc42b6b1430b04cc5c207ecb2b2f4553dc
4 changes: 4 additions & 0 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,8 @@ int dev_open(struct net_device *dev)
{
int ret = 0;

ASSERT_RTNL();

/*
* Is it already up?
*/
Expand Down Expand Up @@ -1060,6 +1062,8 @@ int dev_open(struct net_device *dev)
*/
int dev_close(struct net_device *dev)
{
ASSERT_RTNL();

might_sleep();

if (!(dev->flags & IFF_UP))
Expand Down

0 comments on commit ad4d57f

Please sign in to comment.