Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323240
b: refs/heads/master
c: bc9259a
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Dichtel authored and David S. Miller committed Sep 27, 2012
1 parent 568695d commit 15bcc44
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 68b3f28c11bf896be32ad2a2e151aaa5f4a7c98e
refs/heads/master: bc9259a8bae9e814fc1f775a1b3effa13e6ad330
5 changes: 4 additions & 1 deletion trunk/net/ipv4/inetpeer.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,10 @@ struct inet_peer *inet_getpeer(struct inet_peer_base *base,
secure_ipv6_id(daddr->addr.a6));
p->metrics[RTAX_LOCK-1] = INETPEER_METRICS_NEW;
p->rate_tokens = 0;
p->rate_last = 0;
/* 60*HZ is arbitrary, but chosen enough high so that the first
* calculation of tokens is at its maximum.
*/
p->rate_last = jiffies - 60*HZ;
INIT_LIST_HEAD(&p->gc_list);

/* Link the node. */
Expand Down

0 comments on commit 15bcc44

Please sign in to comment.