Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 55955
b: refs/heads/master
c: db0ccff
h: refs/heads/master
i:
  55953: 597b359
  55951: 2957ed7
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed May 11, 2007
1 parent 0d4b476 commit 7ac7802
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 4cd8c9e87be7ea891050ff1bebbf767a837eb5cf
refs/heads/master: db0ccffed91e234cad99a35f07d5a322f410baa2
4 changes: 3 additions & 1 deletion trunk/net/core/link_watch.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ static void linkwatch_schedule_work(unsigned long delay)
return;

/* If we wrap around we'll delay it by at most HZ. */
if (delay > HZ)
if (delay > HZ) {
linkwatch_nextevent = jiffies;
delay = 0;
}

schedule_delayed_work(&linkwatch_work, delay);
}
Expand Down

0 comments on commit 7ac7802

Please sign in to comment.