diff options
Diffstat (limited to 'net/ipv6/ip6_fib.c')
-rw-r--r-- | net/ipv6/ip6_fib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c index 5550a8113a6d..075602fc6b6a 100644 --- a/net/ipv6/ip6_fib.c +++ b/net/ipv6/ip6_fib.c | |||
@@ -1530,7 +1530,7 @@ static void fib6_clean_tree(struct net *net, struct fib6_node *root, | |||
1530 | } | 1530 | } |
1531 | 1531 | ||
1532 | void fib6_clean_all(struct net *net, int (*func)(struct rt6_info *, void *arg), | 1532 | void fib6_clean_all(struct net *net, int (*func)(struct rt6_info *, void *arg), |
1533 | int prune, void *arg) | 1533 | void *arg) |
1534 | { | 1534 | { |
1535 | struct fib6_table *table; | 1535 | struct fib6_table *table; |
1536 | struct hlist_head *head; | 1536 | struct hlist_head *head; |
@@ -1542,7 +1542,7 @@ void fib6_clean_all(struct net *net, int (*func)(struct rt6_info *, void *arg), | |||
1542 | hlist_for_each_entry_rcu(table, head, tb6_hlist) { | 1542 | hlist_for_each_entry_rcu(table, head, tb6_hlist) { |
1543 | write_lock_bh(&table->tb6_lock); | 1543 | write_lock_bh(&table->tb6_lock); |
1544 | fib6_clean_tree(net, &table->tb6_root, | 1544 | fib6_clean_tree(net, &table->tb6_root, |
1545 | func, prune, arg); | 1545 | func, 0, arg); |
1546 | write_unlock_bh(&table->tb6_lock); | 1546 | write_unlock_bh(&table->tb6_lock); |
1547 | } | 1547 | } |
1548 | } | 1548 | } |
@@ -1636,7 +1636,7 @@ void fib6_run_gc(unsigned long expires, struct net *net, bool force) | |||
1636 | 1636 | ||
1637 | gc_args.more = icmp6_dst_gc(); | 1637 | gc_args.more = icmp6_dst_gc(); |
1638 | 1638 | ||
1639 | fib6_clean_all(net, fib6_age, 0, NULL); | 1639 | fib6_clean_all(net, fib6_age, NULL); |
1640 | now = jiffies; | 1640 | now = jiffies; |
1641 | net->ipv6.ip6_rt_last_gc = now; | 1641 | net->ipv6.ip6_rt_last_gc = now; |
1642 | 1642 | ||