Skip to contentSkip to conversation

ipv6: Remove temporary dst for icmpv6.

PATCH In review YOSHIFUJI Hideaki 2 participants 3 messages Jan 15, 2013 – Jan 16, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 12/13 ipv6: Remove temporary dst for icmpv6.

---
 net/ipv6/ip6_fib.c |    2 +-
 net/ipv6/route.c   |   98 ----------------------------------------------------
 2 files changed, 1 insertion(+), 99 deletions(-)
net/ipv6/ip6_fib.c +1 -1
index 710cafd..1d7c448 100644
@@ -1643,7 +1643,7 @@ void fib6_run_gc(unsigned long expires, struct net *net)
 		gc_args.timeout = net->ipv6.sysctl.ip6_rt_gc_interval;
 	}
 
-	gc_args.more = icmp6_dst_gc();
+	gc_args.more = 0;
 
 	fib6_clean_all(net, fib6_age, 0, NULL);
 
net/ipv6/route.c +0 -98

110 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 5 lines · YOSHIFUJI Hideaki
---
  net/ipv6/ip6_fib.c |    2 +-
  net/ipv6/route.c   |   98 ----------------------------------------------------
  2 files changed, 1 insertion(+), 99 deletions(-)

[...]

net/ipv6/route.c static unsigned int ip6_mtu(const struct dst_entry *dst) · line 1311

Quoted 3 lines
net/ipv6/route.c +0 -3
-
-int icmp6_dst_gc(void)
-{

Please remove its declaration too:
include/net/ip6_route.h:extern int icmp6_dst_gc(void);

#2 lore raw
Quoted 6 lines · Cong Wang
Quoted 5 lines · YOSHIFUJI Hideaki
---
  net/ipv6/ip6_fib.c |    2 +-
  net/ipv6/route.c   |   98 ----------------------------------------------------
  2 files changed, 1 insertion(+), 99 deletions(-)
Quoted 7 lines

[...]

net/ipv6/route.c static unsigned int ip6_mtu(const struct dst_entry *dst) · line 1311

Quoted 3 lines
net/ipv6/route.c +0 -3
-
-int icmp6_dst_gc(void)
-{

Please remove its declaration too:
include/net/ip6_route.h:extern int icmp6_dst_gc(void);

Agreed. Also removed icmp6_dst_alloc().

--yoshfuji