Commit 98ea7818 authored by YOSHIFUJI Hideaki's avatar YOSHIFUJI Hideaki Committed by Chris Wright

[PATCH] IPV6 ROUTE: No longer handle ::/0 specially.

We do not need to handle ::/0 routes specially any longer.
This should fix BUG #8349.
Signed-off-by: default avatarYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Acked-by: default avatarYuji Sekiya <sekiya@wide.ad.jp>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
[chrisw: backport to 2.6.20]
Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
parent ccf68c65
......@@ -620,14 +620,6 @@ static int fib6_add_rt2node(struct fib6_node *fn, struct rt6_info *rt,
ins = &fn->leaf;
if (fn->fn_flags&RTN_TL_ROOT &&
fn->leaf == &ip6_null_entry &&
!(rt->rt6i_flags & (RTF_DEFAULT | RTF_ADDRCONF)) ){
fn->leaf = rt;
rt->u.next = NULL;
goto out;
}
for (iter = fn->leaf; iter; iter=iter->u.next) {
/*
* Search for duplicates
......
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