From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 2/4] net ipv4: Remove unnecessary test for the loopback device from inetdev_destroy Date: Wed, 26 Sep 2007 22:09:43 -0700 (PDT) Message-ID: <20070926.220943.31293195.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, containers@lists.osdl.org To: ebiederm@xmission.com Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:50065 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751320AbXI0FJn (ORCPT ); Thu, 27 Sep 2007 01:09:43 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: ebiederm@xmission.com (Eric W. Biederman) Date: Wed, 26 Sep 2007 17:55:29 -0600 > > Currently we never call unregister_netdev for the loopback device so > it is impossible for us to reach inetdev_destroy with the loopback > device. So the test in inetdev_destroy is unnecessary. > > Further when testing with my network namespace patches removing > unregistering the loopback device and calling inetdev_destroy works > fine so there appears to be no reason for avoiding unregistering the > loopback device. > > Signed-off-by: Eric W. Biederman Fair enough, applied to net-2.6.24