Commit cb15d9c2 authored by YOSHIFUJI Hideaki's avatar YOSHIFUJI Hideaki Committed by David S. Miller

[IPV6] NDISC: Search subtrees when backtracking on receipt of redirects.

Signed-off-by: default avatarYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Acked-by: Ville Nuorvala <vnuorval@tcs.hut.fi
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 150730d5
...@@ -1332,17 +1332,10 @@ restart: ...@@ -1332,17 +1332,10 @@ restart:
break; break;
} }
if (!rt) { 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;
}
}
rt = &ip6_null_entry; rt = &ip6_null_entry;
} BACKTRACK(&fl->fl6_src);
out:
dst_hold(&rt->u.dst); dst_hold(&rt->u.dst);
read_unlock_bh(&table->tb6_lock); read_unlock_bh(&table->tb6_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment