netdev
[Top] [All Lists]

Re: IPv6 dead in -bk11

To: davem@xxxxxxxxxxxxx, jgarzik@xxxxxxxxx
Subject: Re: IPv6 dead in -bk11
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
Date: Thu, 04 Nov 2004 01:21:28 +0900 (JST)
Cc: linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, akpm@xxxxxxxx, davem@xxxxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx
In-reply-to: <20041103.012923.102810732.yoshfuji@linux-ipv6.org>
Organization: USAGI Project
References: <20041102.225343.06193184.yoshfuji@linux-ipv6.org> <4187A4E3.8010600@pobox.com> <20041103.012923.102810732.yoshfuji@linux-ipv6.org>
Sender: netdev-bounce@xxxxxxxxxxx
In article <20041103.012923.102810732.yoshfuji@xxxxxxxxxxxxxx> (at Wed, 03 Nov 
2004 01:29:23 +0900 (JST)), YOSHIFUJI Hideaki / 吉藤英明 
<yoshfuji@xxxxxxxxxxxxxx> says:

> So... I guess that kernel failed to add "default route" on receipt of RA.
> Right?
:

Sorry, this bug was introduced by my changeset:
<http://linux.bkbits.net:8080/linux-2.5/cset@417dca81tJ4RRAxhWTbn0p6hI-1XIQ>.

David, this should fix the issue.
Please apply.

D: Don't purge default routes by RA.
D:
D: Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@xxxxxxxxxxxxxx>

===== net/ipv6/ndisc.c 1.103 vs edited =====
--- 1.103/net/ipv6/ndisc.c      2004-10-26 12:55:42 +09:00
+++ edited/net/ipv6/ndisc.c     2004-11-04 01:05:19 +09:00
@@ -1078,13 +1078,6 @@
                        return;
                }
                neigh->flags |= NTF_ROUTER;
-
-               /*
-                *      If we where using an "all destinations on link" route
-                *      delete it
-                */
-
-               rt6_purge_dflt_routers();
        }
 
        if (rt)

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

<Prev in Thread] Current Thread [Next in Thread>