diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-07-22 17:35:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-22 17:35:50 -0400 |
commit | 3d0f24a74e7957593a5622eb5c04ed6860dd8391 (patch) | |
tree | 52c17c0606f47f5435ada93baf63d1a585a2ccb9 /net/ipv6/ip6_fib.c | |
parent | 75307c0fe7fcb3b52a92fe32384fc33f50622654 (diff) |
ipv6: icmp6_dst_gc return change
Change icmp6_dst_gc to return the one value the caller cares about rather
than using call by reference.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_fib.c')
-rw-r--r-- | net/ipv6/ip6_fib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c index c72fd2461ca5..08ea2de28d63 100644 --- a/net/ipv6/ip6_fib.c +++ b/net/ipv6/ip6_fib.c | |||
@@ -1453,9 +1453,8 @@ void fib6_run_gc(unsigned long expires, struct net *net) | |||
1453 | } | 1453 | } |
1454 | gc_args.timeout = net->ipv6.sysctl.ip6_rt_gc_interval; | 1454 | gc_args.timeout = net->ipv6.sysctl.ip6_rt_gc_interval; |
1455 | } | 1455 | } |
1456 | gc_args.more = 0; | ||
1457 | 1456 | ||
1458 | icmp6_dst_gc(&gc_args.more); | 1457 | gc_args.more = icmp6_dst_gc(); |
1459 | 1458 | ||
1460 | fib6_clean_all(net, fib6_age, 0, NULL); | 1459 | fib6_clean_all(net, fib6_age, 0, NULL); |
1461 | 1460 | ||