[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070824104301.2f4ff34e@localhost>
Date: Fri, 24 Aug 2007 10:43:01 -0700
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: "Denis V. Lunev" <dlunev@...il.com>
Cc: dlezcano@...ibm.com, davem@...emloft.net,
containers@...ts.osdl.org, netdev@...r.kernel.org
Subject: Re: [Devel] [PATCH 1/1] Dynamically allocate the loopback device
On Fri, 24 Aug 2007 19:55:47 +0400
"Denis V. Lunev" <dlunev@...il.com> wrote:
> dlezcano@...ibm.com wrote:
> > From: Daniel Lezcano <dlezcano@...ibm.com>
> >
> > Doing this makes loopback.c a better example of how to do a
> > simple network device, and it removes the special case
> > single static allocation of a struct net_device, hopefully
> > making maintenance easier.
> >
> > Applies against net-2.6.24
> >
> > Tested on i386, x86_64
> > Compiled on ia64, sparc
>
> I think that a small note, that initialization order is changed will be
> good to record. After this, loopback MUST be allocated before any other
> networking subsystem initialization. And this is an important change.
>
> Regards,
> Den
Yes, this code would break when other drivers are directly linked
in.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists