Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41033
b: refs/heads/master
c: ea659e0
h: refs/heads/master
i:
  41031: 6044b6e
v: v3
  • Loading branch information
YOSHIFUJI Hideaki authored and David S. Miller committed Nov 22, 2006
1 parent 8898a1c commit 7d8aa37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 557e92efd44878beccd08d5dd54ed343be0e5819
refs/heads/master: ea659e0775281e1c02556e939bf749bb4f55e50c
9 changes: 5 additions & 4 deletions trunk/net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,11 @@ static struct rt6_info *rt6_select(struct rt6_info **head, int oif,
continue;

if (m > mpri) {
rt6_probe(match);
if (strict & RT6_LOOKUP_F_REACHABLE)
rt6_probe(match);
match = rt;
mpri = m;
} else {
} else if (strict & RT6_LOOKUP_F_REACHABLE) {
rt6_probe(rt);
}
}
Expand Down Expand Up @@ -636,7 +637,7 @@ static struct rt6_info *ip6_pol_route_input(struct fib6_table *table,
int strict = 0;
int attempts = 3;
int err;
int reachable = RT6_LOOKUP_F_REACHABLE;
int reachable = ipv6_devconf.forwarding ? 0 : RT6_LOOKUP_F_REACHABLE;

strict |= flags & RT6_LOOKUP_F_IFACE;

Expand Down Expand Up @@ -733,7 +734,7 @@ static struct rt6_info *ip6_pol_route_output(struct fib6_table *table,
int strict = 0;
int attempts = 3;
int err;
int reachable = RT6_LOOKUP_F_REACHABLE;
int reachable = ipv6_devconf.forwarding ? 0 : RT6_LOOKUP_F_REACHABLE;

strict |= flags & RT6_LOOKUP_F_IFACE;

Expand Down

0 comments on commit 7d8aa37

Please sign in to comment.