From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Denis V. Lunev" Subject: Re: [Devel] [PATCH 1/1] Dynamically allocate the loopback device Date: Fri, 24 Aug 2007 19:55:47 +0400 Message-ID: <46CEFF83.3040003@gmail.com> References: <11879698031215-git-send-email-dlezcano@fr.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: davem@davemloft.net, shemminger@linux-foundation.org, containers@lists.osdl.org, netdev@vger.kernel.org To: dlezcano@fr.ibm.com Return-path: Received: from nf-out-0910.google.com ([64.233.182.189]:57692 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753029AbXHXPzS (ORCPT ); Fri, 24 Aug 2007 11:55:18 -0400 Received: by nf-out-0910.google.com with SMTP id g13so651345nfb for ; Fri, 24 Aug 2007 08:55:17 -0700 (PDT) In-Reply-To: <11879698031215-git-send-email-dlezcano@fr.ibm.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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