| To: | "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | Re: Initialising net/ipv4/ before net/ipv6/ breaks IPv6 autoconf with nfsroot.... |
| From: | David Woodhouse <dwmw2@xxxxxxxxxxxxx> |
| Date: | Fri, 20 Feb 2004 19:01:37 +0000 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20040219222253.082458cf.davem@redhat.com> |
| References: | <1077201499.18703.381.camel@hades.cambridge.redhat.com> <20040219222253.082458cf.davem@redhat.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Thu, 2004-02-19 at 22:22 -0800, David S. Miller wrote:
> If at some point we create some initialization dependency between ipv4
> and ipv6 (f.e. ipv6 init needs some ipv4 table setup) we will need to
> tread carefully to keep this from breaking.
True. For 2.6 in fact we can do it this way...
===== net/ipv4/ipconfig.c 1.35 vs edited =====
--- 1.35/net/ipv4/ipconfig.c Wed Oct 8 01:37:44 2003
+++ edited/net/ipv4/ipconfig.c Fri Feb 20 19:00:23 2004
@@ -1324,7 +1324,7 @@
return 0;
}
-module_init(ip_auto_config);
+late_initcall(ip_auto_config);
/*
--
dwmw2
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Linux-2.6.3 : [eth0: Too much work at interrupt, status=0x00000001.], YOSHIFUJI Hideaki / 吉藤英明 |
|---|---|
| Next by Date: | Re: Initialising net/ipv4/ before net/ipv6/ breaks IPv6 autoconf with nfsroot...., David Woodhouse |
| Previous by Thread: | Re: Initialising net/ipv4/ before net/ipv6/ breaks IPv6 autoconf with nfsroot...., David S. Miller |
| Next by Thread: | Re: Initialising net/ipv4/ before net/ipv6/ breaks IPv6 autoconf with nfsroot...., David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |