| To: | Andrew Morton <akpm@xxxxxxxx> |
|---|---|
| Subject: | Re: Oops at "NET: Registering protocol family 23" at boot with 2.6.0t9-bk |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Sat, 1 Nov 2003 19:29:26 -0800 |
| Cc: | liste@xxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20031101160350.2f1fe0af.akpm@xxxxxxxx> |
| References: | <1067705386.666.1.camel@xxxxxxxxxxxxxxx> <20031101133601.7cf12497.akpm@xxxxxxxx> <1067723628.643.0.camel@xxxxxxxxxxxxxxx> <20031101160350.2f1fe0af.akpm@xxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Sat, 1 Nov 2003 16:03:50 -0800 Andrew Morton <akpm@xxxxxxxx> wrote: > OK, it goes bang because ptype_all has not been initialised yet. > > This is because net_dev_init() is fs_initcall, and irda_init() is > subsys_initcall - irda_init() runs before net_dev_init(). > > Dave, I'm not sure what's the best thing to do here - I was afraid that the > initcall level shuffling was a bit premature. Turns out my suspicions were correct afterall :-) If it's just ptype_all that it needs, why don't we just initialize that one list head at compile time? |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] LLC: fix client side after sockaddr_llc fixup, Arnaldo Carvalho de Melo |
|---|---|
| Next by Date: | Re: Oops at "NET: Registering protocol family 23" at boot with 2.6.0t9-bk, Andrew Morton |
| Previous by Thread: | Re: Oops at "NET: Registering protocol family 23" at boot with 2.6.0t9-bk, Andrew Morton |
| Next by Thread: | Re: Oops at "NET: Registering protocol family 23" at boot with 2.6.0t9-bk, Andrew Morton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |