From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" Subject: Re: [PATCH] (1/5) get rid of useless hashbin in irtty Date: Mon, 18 Aug 2003 02:21:31 -0700 Sender: netdev-bounce@oss.sgi.com Message-ID: <20030818022131.311583f6.davem@redhat.com> References: <20030817221804.27e2f07d.davem@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: jt@hpl.hp.com, shemminger@osdl.org, irda-users@lists.sourceforge.net, netdev@oss.sgi.com Return-path: To: Martin Diehl In-Reply-To: Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org On Mon, 18 Aug 2003 10:48:28 +0200 (CEST) Martin Diehl wrote: > So the question arises what to do if > some stack (say irda ;-) *wants* to lock the driver providing the netdev > while registered? You can't, you have to interlock with netdevice removal and also capture NETDEV_GOING_DOWN events to properly handle when netdevices disappear.