From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: [Devel] [PATCH 1/1] Dynamically allocate the loopback device Date: Fri, 24 Aug 2007 18:44:35 +0200 Message-ID: <46CF0AF3.9080105@meiosys.com> References: <11879698031215-git-send-email-dlezcano@fr.ibm.com> <46CEFF83.3040003@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46CEFF83.3040003@gmail.com> Sender: netdev-owner@vger.kernel.org To: "Denis V. Lunev" Cc: dlezcano@fr.ibm.com, davem@davemloft.net, shemminger@linux-foundation.org, containers@lists.osdl.org, netdev@vger.kernel.org List-Id: containers.vger.kernel.org Denis V. Lunev wrote: > dlezcano@fr.ibm.com wrote: >> From: Daniel Lezcano >> >> 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 > Thanks Denis to point that. -- Daniel