netdev
[Top] [All Lists]

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

To: Martin Diehl <lists@xxxxxxxxx>
Subject: Re: [PATCH] (1/5) get rid of useless hashbin in irtty
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Mon, 18 Aug 2003 02:21:31 -0700
Cc: jt@xxxxxxxxxx, shemminger@xxxxxxxx, irda-users@xxxxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.44.0308180959150.3006-100000@notebook.home.mdiehl.de>
References: <20030817221804.27e2f07d.davem@redhat.com> <Pine.LNX.4.44.0308180959150.3006-100000@notebook.home.mdiehl.de>
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 18 Aug 2003 10:48:28 +0200 (CEST)
Martin Diehl <lists@xxxxxxxxx> 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.

<Prev in Thread] Current Thread [Next in Thread>