Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34552
b: refs/heads/master
c: cb15d9c
h: refs/heads/master
v: v3
  • Loading branch information
YOSHIFUJI Hideaki authored and David S. Miller committed Sep 22, 2006
1 parent d6dbca0 commit fa04d48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 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: 150730d5a53b1bbb486101b2a5fb82ff0d3f916e
refs/heads/master: cb15d9c224fcc03b32396c1c7416e777c2dcca34
13 changes: 3 additions & 10 deletions trunk/net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -1332,17 +1332,10 @@ static struct rt6_info *__ip6_route_redirect(struct fib6_table *table,
break;
}

if (!rt) {
if (rt6_need_strict(&fl->fl6_dst)) {
while ((fn = fn->parent) != NULL) {
if (fn->fn_flags & RTN_ROOT)
break;
if (fn->fn_flags & RTN_RTINFO)
goto restart;
}
}
if (!rt)
rt = &ip6_null_entry;
}
BACKTRACK(&fl->fl6_src);
out:
dst_hold(&rt->u.dst);

read_unlock_bh(&table->tb6_lock);
Expand Down

0 comments on commit fa04d48

Please sign in to comment.