Re: IPv6 dead in -bk11

From: YOSHIFUJI Hideaki / 吉藤英明
Date: Wed Nov 03 2004 - 11:23:19 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/