Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103224
b: refs/heads/master
c: 86c657f
h: refs/heads/master
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Jul 6, 2008
1 parent 47b97ed commit 07ec39d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 9f5e97e53675caeda48e9988122a30470f4d309d
refs/heads/master: 86c657f6b5bbf2f3ec2213eca528998134a9b344
6 changes: 3 additions & 3 deletions trunk/net/ipv4/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ static void rt_worker_func(struct work_struct *work)
* many times (2^24) without giving recent rt_genid.
* Jenkins hash is strong enough that litle changes of rt_genid are OK.
*/
static void rt_cache_invalidate(void)
static void rt_cache_invalidate(struct net *net)
{
unsigned char shuffle;

Expand All @@ -792,7 +792,7 @@ static void rt_cache_invalidate(void)
*/
void rt_cache_flush(struct net *net, int delay)
{
rt_cache_invalidate();
rt_cache_invalidate(net);
if (delay >= 0)
rt_do_flush(!in_softirq());
}
Expand All @@ -803,7 +803,7 @@ void rt_cache_flush(struct net *net, int delay)
static void rt_secret_rebuild(unsigned long __net)
{
struct net *net = (struct net *)__net;
rt_cache_invalidate();
rt_cache_invalidate(net);
mod_timer(&net->ipv4.rt_secret_timer, jiffies + ip_rt_secret_interval);
}

Expand Down

0 comments on commit 07ec39d

Please sign in to comment.