From: Andrey Savochkin Subject: Re: [patch 1/7] net_device list cleanup: core Date: Mon, 10 Jul 2006 10:53:05 +0400 Message-ID: <20060710105305.A17324@castle.nmd.msu.ru> References: <20060630150823.A22285@castle.nmd.msu.ru> <20060707.133434.125915077.yoshfuji@linux-ipv6.org> <20060707115425.A28991@castle.nmd.msu.ru> <20060708.014813.119417005.yoshfuji@linux-ipv6.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, dev@openvz.org, ebiederm@xmission.com, kuznet@ms2.inr.ac.ru Return-path: Received: from castle.nmd.msu.ru ([193.232.112.53]:47633 "HELO castle.nmd.msu.ru") by vger.kernel.org with SMTP id S1161357AbWGJGxH (ORCPT ); Mon, 10 Jul 2006 02:53:07 -0400 To: "YOSHIFUJI Hideaki / ?$B5HF#1QL@?\(B" In-Reply-To: <20060708.014813.119417005.yoshfuji@linux-ipv6.org>; from "YOSHIFUJI Hideaki / ?$B5HF#1QL@?(B" on Sat, Jul 08, 2006 at 01:48:13AM Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Sat, Jul 08, 2006 at 01:48:13AM +0900, YOSHIFUJI Hideaki / ?$B5HF#1QL@?(B wrote: > In article <20060707115425.A28991@castle.nmd.msu.ru> (at Fri, 7 Jul 2006 11:54:25 +0400), Andrey Savochkin says: > > > On Fri, Jul 07, 2006 at 01:34:34PM +0900, YOSHIFUJI Hideaki / ?$B5HF#1QL@?(B wrote: > > > In article <20060630150823.A22285@castle.nmd.msu.ru> (at Mon, 3 Jul 2006 12:18:51 +0400), Andrey Savochkin says: > > > > > > > @@ -3271,22 +3277,22 @@ int unregister_netdevice(struct net_devi > > > > > > > > /* And unlink it from device chain. */ > > > > for (dp = &dev_base; (d = *dp) != NULL; dp = &d->next) { > > > > > > Why not for_each_netdev? > > > > it's a different list > > Sorry, I still do not understand. > In other words, why will we still have dev->next? > After introducing net_device->dev_list, we do not need > dev->next anymore, do we? dev->next is removed in the last patch, to make possible the bisection of patch list.