Subject: Re: [PATCH] (1/5) get rid of useless hashbin in irtty

From: "David S. Miller" <[email-masked]>
Date: Mon, 18 Aug 2003 02:21:31 -0700

On Mon, 18 Aug 2003 10:48:28 +0200 (CEST)
Martin Diehl <[email-masked]> 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.