[IPV6]: ROUTE: Try finding the next best route.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1ddef044ed
commit
bb133964e0
|
@ -396,7 +396,7 @@ static struct rt6_info *rt6_alloc_clone(struct rt6_info *ort, struct in6_addr *d
|
||||||
}
|
}
|
||||||
|
|
||||||
#define BACKTRACK() \
|
#define BACKTRACK() \
|
||||||
if (rt == &ip6_null_entry && strict) { \
|
if (rt == &ip6_null_entry) { \
|
||||||
while ((fn = fn->parent) != NULL) { \
|
while ((fn = fn->parent) != NULL) { \
|
||||||
if (fn->fn_flags & RTN_ROOT) { \
|
if (fn->fn_flags & RTN_ROOT) { \
|
||||||
goto out; \
|
goto out; \
|
||||||
|
|
Reference in New Issue