[IPV6]: ROUTE: Eliminate lock for default route pointer.
And prepare for more advanced router selection. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
519fbd8715
commit
554cfb7ee5
@ -1105,7 +1105,6 @@ static int fib6_age(struct rt6_info *rt, void *arg)
|
||||
if (rt->rt6i_flags&RTF_EXPIRES && rt->rt6i_expires) {
|
||||
if (time_after(now, rt->rt6i_expires)) {
|
||||
RT6_TRACE("expiring %p\n", rt);
|
||||
rt6_reset_dflt_pointer(rt);
|
||||
return -1;
|
||||
}
|
||||
gc_args.more++;
|
||||
|
Reference in New Issue
Block a user